Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001427/0.001427, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.0013/0.001301, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.86 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7744, allocations: 151.6 MB / 1.167 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002096/0.7765, allocations: 0.8865 MB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.7776, allocations: 0.8701 MB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.7777, allocations: 0 / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.7778, allocations: 11.86 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.7779, allocations: 19.8 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.7781, allocations: 43.95 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.7782, allocations: 111.6 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.7784, allocations: 45.08 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.7785, allocations: 43.84 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.7786, allocations: 47.77 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.7786, allocations: 16 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.7787, allocations: 8 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.7787, allocations: 27.91 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.7788, allocations: 51.67 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.7789, allocations: 124.1 kB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.779, allocations: 3.938 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.974e-06/0.779, allocations: 0 / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.779, allocations: 0 / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008794/0.7799, allocations: 462.8 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7799, allocations: 12.92 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.78, allocations: 16.84 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.7801, allocations: 188.2 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.7801, allocations: 4.375 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.7802, allocations: 8.375 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.7804, allocations: 94.2 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7804, allocations: 192 / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.7804, allocations: 3.938 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7804, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.7806, allocations: 67.97 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.7813, allocations: 408.5 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.7815, allocations: 58.55 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.7816, allocations: 40.84 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.7816, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.7816, allocations: 34.56 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.7816, allocations: 4 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0003821/0.782, allocations: 109.6 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.7821, allocations: 51.41 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.7822, allocations: 160.9 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7823, allocations: 25.7 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.7823, allocations: 104.2 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.7824, allocations: 23.83 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.7824, allocations: 21.72 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7826, allocations: 322.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.7826, allocations: 31.92 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.7827, allocations: 27.98 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.7829, allocations: 48.83 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7829, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002109/0.7831, allocations: 101.6 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7831, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7831, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.7832, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.7833, allocations: 16.17 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7833, allocations: 3.938 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.7835, allocations: 35.92 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.7835, allocations: 4 kB / 1.172 GB, free: 14.93 MB / 0.9044 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 (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 prepare postOptimizeDAE: time 8.934e-05/0.7836, allocations: 113.8 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.7836, allocations: 7.953 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.7837, allocations: 24.23 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7837, allocations: 3.984 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.7837, allocations: 3.938 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7837, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.7839, allocations: 205.5 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7839, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.784, allocations: 8 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.784, allocations: 7.984 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.784, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.784, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.784, allocations: 7.875 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.7843, allocations: 187.4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.7843, allocations: 89.02 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.7844, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.7846, allocations: 19.97 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.7846, allocations: 15.92 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.7846, allocations: 11.98 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.954e-05/0.7847, allocations: 113.9 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.7847, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002315/0.785, allocations: 12 kB / 1.173 GB, free: 14.02 MB / 0.9044 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 (5): * Single equations (assignments): 5 * 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.0001173/0.7851, allocations: 107.2 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.7853, allocations: 63.91 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7854, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.7854, allocations: 35.98 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.7858, allocations: 12.17 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.7863, allocations: 229.2 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7866, allocations: 0.6963 MB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.7866, allocations: 23.38 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.7866, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.00274/0.7894, allocations: 1.301 MB / 1.175 GB, free: 11.5 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches