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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008349/0.008349, allocations: 103.4 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 191.2 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.88 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8847, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002669/0.8874, allocations: 0.9301 MB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.8887, allocations: 0.8858 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.8888, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.8889, allocations: 11.81 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.889, allocations: 23.78 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.8892, allocations: 39.95 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.8894, allocations: 131.6 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.8896, allocations: 49.5 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.8897, allocations: 47.78 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.8898, allocations: 59.75 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.8898, allocations: 12 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.8899, allocations: 16 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.8899, allocations: 27.92 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.89, allocations: 55.67 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.8902, allocations: 163.2 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8902, allocations: 0 / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8902, allocations: 0 / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.8902, allocations: 0 / 1.21 GB, free: 11.17 MB / 0.9356 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.0006235/0.8908, allocations: 428.8 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.8909, allocations: 12.03 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.8909, allocations: 16.75 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.8912, allocations: 216.9 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.8912, allocations: 4.375 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.8913, allocations: 12.12 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.8915, allocations: 111.2 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.8915, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8915, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8915, allocations: 8 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.8918, allocations: 67.95 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.8923, allocations: 396.4 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.8926, allocations: 82.61 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.8927, allocations: 44.83 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.8927, allocations: 4.141 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.8928, allocations: 34.5 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8928, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003715/0.8932, allocations: 133.4 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8932, allocations: 55.34 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.8933, allocations: 159.1 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.8934, allocations: 33.7 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.8934, allocations: 108.2 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.8935, allocations: 23.7 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.8935, allocations: 21.72 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8936, allocations: 322.8 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.8937, allocations: 35.98 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.8939, allocations: 50.55 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.894, allocations: 60.77 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.894, allocations: 4 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002229/0.8943, allocations: 109.6 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8943, allocations: 7.938 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.8943, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.8943, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.8944, allocations: 15.92 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8944, allocations: 4 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.8945, allocations: 11.94 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.8945, allocations: 7.984 kB / 1.213 GB, free: 8.395 MB / 0.9356 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 9.09e-05/0.8946, allocations: 128.7 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.8947, allocations: 16.03 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.8947, allocations: 12.72 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8947, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8947, allocations: 3.938 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8947, allocations: 4 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.8949, allocations: 213.6 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.895, allocations: 0 / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.895, allocations: 11.98 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.895, allocations: 3.938 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.8951, allocations: 11.94 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8951, allocations: 0 / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8951, allocations: 0 / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.8953, allocations: 187.4 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.8954, allocations: 96.84 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.8954, allocations: 7.984 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.8955, allocations: 8 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.8956, allocations: 19.97 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.8956, allocations: 3.938 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.8957, allocations: 119.2 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8957, allocations: 0 / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002425/0.896, allocations: 15.94 kB / 1.213 GB, free: 7.453 MB / 0.9356 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.0001061/0.8961, allocations: 107.6 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.8963, allocations: 75.94 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8963, allocations: 4 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.8964, allocations: 39.91 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.8967, allocations: 13.86 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.8972, allocations: 215.8 kB / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.8975, allocations: 0.708 MB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.68e-05/0.8975, allocations: 8.672 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.8976, allocations: 19.42 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8976, allocations: 0 / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.003632/0.9012, allocations: 1.18 MB / 1.216 GB, free: 5.035 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) 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) Reference file matches