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.001897/0.001897, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002449/0.002449, allocations: 165.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.871/2.871, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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.272e-06/1.272e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.743e-05, allocations: 9.172 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002133/0.00216, allocations: 0.8824 MB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.0035, allocations: 0.9249 MB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.00358, allocations: 0 / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.003632, allocations: 15.8 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.003747, allocations: 15.81 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.004013, allocations: 47.88 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.004202, allocations: 127.6 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.004359, allocations: 41.64 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.004612, allocations: 83.86 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004713, allocations: 43.81 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.004745, allocations: 12 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.004803, allocations: 16 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.004839, allocations: 31.91 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.004891, allocations: 31.92 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.00515, allocations: 167.4 kB / 1.003 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.005153, allocations: 0 / 1.003 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005154, allocations: 0 / 1.003 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.005159, allocations: 0 / 1.003 GB, free: 4.848 MB / 0.9512 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.0006494/0.005809, allocations: 365.7 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.005844, allocations: 11.98 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.006092, allocations: 28.83 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.006396, allocations: 162.3 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.006413, allocations: 8.375 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.006432, allocations: 4.375 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.006687, allocations: 106.2 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.006702, allocations: 3.938 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.006719, allocations: 4 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.006725, allocations: 4 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.006933, allocations: 67.91 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.007575, allocations: 324.2 kB / 1.004 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.007877, allocations: 82.61 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.007986, allocations: 40.77 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008002, allocations: 0 / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.008035, allocations: 38.5 kB / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008036, allocations: 0 / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.008451, allocations: 125.8 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.0085, allocations: 55.34 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.00864, allocations: 144.1 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.00867, allocations: 37.7 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.008752, allocations: 112 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.008787, allocations: 23.84 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.008843, allocations: 25.7 kB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.008989, allocations: 314.8 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.009094, allocations: 35.97 kB / 1.005 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.00924, allocations: 102 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.00942, allocations: 64.77 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009422, allocations: 4.031 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000255/0.009677, allocations: 105.6 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.009693, allocations: 7.938 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009698, allocations: 0 / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.009715, allocations: 3.938 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.009807, allocations: 12.27 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.009812, allocations: 0 / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.009909, allocations: 19.92 kB / 1.005 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.00992, allocations: 7.938 kB / 1.005 GB, free: 2.254 MB / 0.9512 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 0.0001199/0.01004, allocations: 124.6 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.01008, allocations: 11.95 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.01012, allocations: 16.77 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01012, allocations: 3.938 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01013, allocations: 0 / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01013, allocations: 0 / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.01033, allocations: 141.2 kB / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01033, allocations: 0 / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.01041, allocations: 19.92 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01042, allocations: 4 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01043, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.01043, allocations: 3.984 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01044, allocations: 3.938 kB / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.01073, allocations: 191.5 kB / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.01075, allocations: 11.89 kB / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01077, allocations: 4 kB / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.01089, allocations: 7.984 kB / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.01096, allocations: 27.91 kB / 1.005 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.01096, allocations: 0 / 1.005 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.01105, allocations: 111.2 kB / 1.005 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01105, allocations: 0 / 1.005 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002542/0.01131, allocations: 23.89 kB / 1.006 GB, free: 1.512 MB / 0.9512 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.0001194/0.01143, allocations: 99.58 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.01169, allocations: 67.95 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.01169, allocations: 4 kB / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.0118, allocations: 43.91 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.01209, allocations: 7.719 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.01256, allocations: 225.2 kB / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.01265, allocations: 85.31 kB / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.536e-05/0.01271, allocations: 11.98 kB / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.01276, allocations: 12.5 kB / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.01276, allocations: 0 / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of Templates: time 0.004442/0.0172, allocations: 1.115 MB / 1.007 GB, free: 15.8 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 7.952892038971186]