Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8951/0.8951, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.786/1.786, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.224e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001686/0.001708, allocations: 1.235 MB / 0.9821 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.001917, allocations: 47.73 kB / 0.9822 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.001947, allocations: 0 / 0.9822 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.001984, allocations: 7.984 kB / 0.9822 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.002101, allocations: 3.984 kB / 0.9822 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.002265, allocations: 15.92 kB / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.00234, allocations: 23.86 kB / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.002379, allocations: 0 / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.002428, allocations: 11.98 kB / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.002484, allocations: 12.69 kB / 0.9823 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.002499, allocations: 0 / 0.9823 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.002572, allocations: 7.984 kB / 0.9823 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.241e-05/0.002654, allocations: 48.47 kB / 0.9823 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.00268, allocations: 19.94 kB / 0.9823 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.002792, allocations: 75.62 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002794, allocations: 4 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.563e-06/0.002795, allocations: 0 / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.0028, allocations: 0 / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003238/0.003124, allocations: 353.6 kB / 0.9827 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.003161, allocations: 8.031 kB / 0.9827 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.003201, allocations: 106 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.003252, allocations: 88.12 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.003359, allocations: 205.6 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.003395, allocations: 150.9 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.003448, allocations: 154.9 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.201e-05/0.0035, allocations: 116.9 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.461e-05/0.003595, allocations: 75.28 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.003628, allocations: 150.6 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.003662, allocations: 154.5 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.003697, allocations: 154.6 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.003925, allocations: 468.8 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.023e-05/0.003995, allocations: 173.1 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.004021, allocations: 80.14 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.004043, allocations: 79.22 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.004075, allocations: 109.8 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.004076, allocations: 0 / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.833e-05/0.004145, allocations: 45.61 kB / 0.985 GB, free: 14.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.004187, allocations: 126.7 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.004367, allocations: 231.1 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004377, allocations: 25.7 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.004429, allocations: 108.1 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.004432, allocations: 0 / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.004473, allocations: 41.69 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.004555, allocations: 330.8 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.004618, allocations: 55.95 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.004666, allocations: 51.97 kB / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.004786, allocations: 147 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.004789, allocations: 0 / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000242/0.005031, allocations: 179.1 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.005048, allocations: 8 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.005054, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.005067, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.005068, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.005073, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.0051, allocations: 15.84 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.005116, allocations: 11.92 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.005198, allocations: 197.1 kB / 0.9864 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.005242, allocations: 124.9 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.005281, allocations: 117.5 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/0.00532, allocations: 184.2 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.189e-05/0.005362, allocations: 176.3 kB / 0.987 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/0.005405, allocations: 184.2 kB / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.005563, allocations: 408.2 kB / 0.9876 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/0.005589, allocations: 109.1 kB / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.005614, allocations: 108.9 kB / 0.9878 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.931e-05/0.005654, allocations: 180.2 kB / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.005696, allocations: 184.2 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.919e-05/0.005736, allocations: 180.3 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.96e-05/0.005775, allocations: 176.3 kB / 0.9885 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.005882, allocations: 323.6 kB / 0.9888 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.005921, allocations: 116.8 kB / 0.9889 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.005977, allocations: 180.3 kB / 0.989 GB, free: 9.906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.006031, allocations: 108.9 kB / 0.9891 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.006076, allocations: 184.2 kB / 0.9893 GB, free: 9.605 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.006102, allocations: 117 kB / 0.9894 GB, free: 9.484 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.833e-05/0.00619, allocations: 156.6 kB / 0.9896 GB, free: 9.332 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00619, allocations: 0 / 0.9896 GB, free: 9.332 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001708/0.006361, allocations: 19.94 kB / 0.9896 GB, free: 9.312 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003353/0.006696, allocations: 0.8242 MB / 0.9904 GB, free: 8.461 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.006823, allocations: 63.95 kB / 0.9905 GB, free: 8.398 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006824, allocations: 0 / 0.9905 GB, free: 8.398 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.006827, allocations: 4 kB / 0.9905 GB, free: 8.395 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.00722, allocations: 469.1 kB / 0.9909 GB, free: 7.938 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.008754, allocations: 2.13 MB / 0.993 GB, free: 5.734 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.008829, allocations: 96.73 kB / 0.9931 GB, free: 5.617 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.008849, allocations: 15.97 kB / 0.9931 GB, free: 5.602 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.008896, allocations: 32.48 kB / 0.9931 GB, free: 5.57 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/0.008897, allocations: 0 / 0.9931 GB, free: 5.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02516, allocations: 3.426 MB / 0.9965 GB, free: 2.266 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.835, allocations: 11.39 kB / 0.9965 GB, free: 2.262 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.075968937948346]