Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0008594/0.0008594, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.00194, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007061/0.0007061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001623, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.065/1.065, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1156/1.18, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.337/2.337, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2453/2.583, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.234e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001727/0.001749, allocations: 0.9655 MB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.002689, allocations: 0.9481 MB / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.002761, allocations: 4 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.002794, allocations: 7.875 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.002857, allocations: 23.72 kB / 0.8202 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.002999, allocations: 47.88 kB / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.003118, allocations: 123.7 kB / 0.8204 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003232, allocations: 46.27 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.003425, allocations: 107.6 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.003505, allocations: 39.89 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.003525, allocations: 12 kB / 0.8206 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.003593, allocations: 19.98 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.003611, allocations: 19.94 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.003637, allocations: 27.88 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003784, allocations: 79.64 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.79e-05/0.003801, allocations: 0 / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of FrontEnd: time 2.024e-06/0.003803, allocations: 0 / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.003822, allocations: 0 / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004462/0.004268, allocations: 344 kB / 0.821 GB, free: 76 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.004301, allocations: 12.62 kB / 0.821 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.004527, allocations: 106 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.004674, allocations: 150 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.004685, allocations: 4.375 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004697, allocations: 8.375 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004816, allocations: 90.89 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004823, allocations: 192 / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004831, allocations: 7.938 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.004837, allocations: 4 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.004874, allocations: 23.98 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.00518, allocations: 231.9 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005316, allocations: 54.48 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.00534, allocations: 12.86 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.005355, allocations: 0 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.005378, allocations: 34.56 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.005379, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001311/0.00551, allocations: 61.67 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.005541, allocations: 55.41 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.005616, allocations: 152.7 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.005636, allocations: 29.7 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.005681, allocations: 108 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.005705, allocations: 19.84 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.005742, allocations: 25.69 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.005818, allocations: 322.8 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.005836, allocations: 8 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.00585, allocations: 4 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.005892, allocations: 32.81 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005894, allocations: 7.938 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.252e-05/0.005967, allocations: 53.62 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.005981, allocations: 8 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005986, allocations: 0 / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005998, allocations: 0 / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.006068, allocations: 11.98 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.006071, allocations: 3.938 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.006107, allocations: 19.94 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.006115, allocations: 4.312 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 prepare postOptimizeDAE: time 7.08e-05/0.006185, allocations: 113.8 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.006204, allocations: 12 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.00624, allocations: 12.77 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.006243, allocations: 4 kB / 0.8228 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.006246, allocations: 3.984 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.006251, allocations: 3.938 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.006364, allocations: 97.78 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.006365, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.006403, allocations: 8 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.006415, allocations: 11.94 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.006418, allocations: 0 / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.006427, allocations: 8 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006429, allocations: 0 / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006431, allocations: 0 / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.006543, allocations: 163.4 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.006565, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.006607, allocations: 4 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.006652, allocations: 15.97 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.006656, allocations: 7.984 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.006681, allocations: 31.41 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006681, allocations: 0 / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001261/0.006808, allocations: 19.95 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001046/0.006912, allocations: 88.41 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.006996, allocations: 36.78 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.007002, allocations: 0 / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.007028, allocations: 20.84 kB / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.00719, allocations: 18.73 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.008427, allocations: 236.5 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.008466, allocations: 63.34 kB / 0.8236 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.008508, allocations: 7.984 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.008571, allocations: 59.38 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.008572, allocations: 0 / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.00302/0.01159, allocations: 1.128 MB / 0.8247 GB, free: 12.04 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200832601636648]