Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002537/0.002537, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.003005/0.003005, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.441/3.441, allocations: 429.4 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.53e-05, allocations: 6.609 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002641/0.002676, allocations: 1.253 MB / 0.8786 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.002936, allocations: 52.64 kB / 0.8787 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.002965, allocations: 1.125 kB / 0.8787 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.003004, allocations: 0 / 0.8787 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.003107, allocations: 9.969 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.003247, allocations: 13.02 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.003332, allocations: 17.67 kB / 0.8787 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.003369, allocations: 5.078 kB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.003423, allocations: 12 kB / 0.8787 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.003481, allocations: 8.734 kB / 0.8788 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.003498, allocations: 0.5938 kB / 0.8788 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.003575, allocations: 11.92 kB / 0.8788 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.003675, allocations: 49.97 kB / 0.8788 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.003721, allocations: 19.94 kB / 0.8788 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.003887, allocations: 72.95 kB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.003892, allocations: 4 kB / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003892, allocations: 0 / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003896, allocations: 0 / 0.8789 GB, free: 5.172 MB / 0.8386 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.0005605/0.004457, allocations: 456.4 kB / 0.8793 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.004494, allocations: 8.031 kB / 0.8793 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.004601, allocations: 133.4 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.004815, allocations: 259.5 kB / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.004938, allocations: 242.7 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.005066, allocations: 244.3 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005176, allocations: 157.8 kB / 0.8803 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.005236, allocations: 119.2 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.005354, allocations: 238.4 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.005474, allocations: 238.4 kB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.005592, allocations: 239.8 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.006059, allocations: 0.6226 MB / 0.8817 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.006231, allocations: 265.4 kB / 0.882 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.006298, allocations: 128 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/0.006361, allocations: 123.2 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.67e-05/0.006447, allocations: 152.6 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.006448, allocations: 3.406 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001083/0.006557, allocations: 49.47 kB / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.006657, allocations: 174.6 kB / 0.8826 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.006964, allocations: 270.5 kB / 0.8829 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.006986, allocations: 25.7 kB / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.007106, allocations: 162.8 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.007108, allocations: 0 / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.007186, allocations: 51.34 kB / 0.8831 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004157/0.007602, allocations: 0.4962 MB / 0.8836 GB, free: 200 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.007655, allocations: 20 kB / 0.8836 GB, free: 180 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.007692, allocations: 15.98 kB / 0.8836 GB, free: 164 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.007804, allocations: 60.92 kB / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007806, allocations: 0 / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002668/0.008073, allocations: 115.4 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008085, allocations: 4 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.00809, allocations: 0 / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.008103, allocations: 3.938 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.008104, allocations: 0 / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.008111, allocations: 4 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.008158, allocations: 19.78 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.008182, allocations: 12.06 kB / 0.8838 GB, free: 15.94 MB / 0.8542 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 0.0001667/0.008349, allocations: 271.8 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.008452, allocations: 160.7 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.503e-05/0.008548, allocations: 169.3 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/0.008691, allocations: 268.1 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001332/0.008824, allocations: 272 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/0.008951, allocations: 268.1 kB / 0.8852 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.009318, allocations: 0.5271 MB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-05/0.009389, allocations: 144.9 kB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.009464, allocations: 152.9 kB / 0.886 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001399/0.009604, allocations: 272 kB / 0.8862 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.009743, allocations: 272 kB / 0.8865 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001329/0.009876, allocations: 272 kB / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001284/0.01, allocations: 264.1 kB / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01028, allocations: 455.9 kB / 0.8874 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.01037, allocations: 156.8 kB / 0.8876 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.01053, allocations: 276 kB / 0.8878 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.01065, allocations: 144.9 kB / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.01079, allocations: 264.1 kB / 0.8882 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.01086, allocations: 152.8 kB / 0.8884 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001495/0.01101, allocations: 192.5 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01101, allocations: 0 / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002498/0.01126, allocations: 19.98 kB / 0.8886 GB, free: 10.86 MB / 0.8542 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.0002316/0.0115, allocations: 218.4 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01162, allocations: 35.67 kB / 0.8888 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01163, allocations: 0 / 0.8888 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.01163, allocations: 4 kB / 0.8888 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.01221, allocations: 0.7061 MB / 0.8895 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.01271, allocations: 334.3 kB / 0.8898 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.01282, allocations: 92.66 kB / 0.8899 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.01284, allocations: 7.984 kB / 0.8899 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.01288, allocations: 16.48 kB / 0.8899 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01288, allocations: 0 / 0.8899 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of Templates: time 0.003937/0.01682, allocations: 0.7213 MB / 0.8906 GB, free: 8.668 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.848133335006423]