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.001816/0.001816, allocations: 114.9 kB / 16.42 MB, free: 6.426 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.001696/0.001696, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.471/1.471, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.645/2.645, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7328, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002252/0.7351, allocations: 0.8844 MB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7362, allocations: 0.8779 MB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.7363, allocations: 0 / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.7364, allocations: 7.875 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.7365, allocations: 19.8 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.7366, allocations: 43.94 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.7368, allocations: 111.6 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.7369, allocations: 41.09 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.737, allocations: 43.84 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.7371, allocations: 47.77 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.7372, allocations: 12 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.7372, allocations: 12 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.7372, allocations: 27.91 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.7373, allocations: 51.73 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.7374, allocations: 120 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7374, allocations: 4 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7375, allocations: 0 / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7375, allocations: 0 / 1.17 GB, free: 1.594 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.000838/0.7383, allocations: 466.8 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7384, allocations: 12.92 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.7384, allocations: 12.84 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.7385, allocations: 190.4 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7386, allocations: 4.375 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.7386, allocations: 8.375 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.7388, allocations: 94.14 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7388, allocations: 192 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.7388, allocations: 7.938 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7388, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.739, allocations: 67.97 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.7397, allocations: 408.5 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.7399, allocations: 66.48 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.74, allocations: 28.97 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.74, allocations: 7.938 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.7401, allocations: 34.5 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.7401, allocations: 4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.00036/0.7404, allocations: 105.8 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.7405, allocations: 55.41 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.7406, allocations: 156.3 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.7406, allocations: 33.7 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.7407, allocations: 100.2 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.7407, allocations: 19.84 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.7408, allocations: 29.69 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7409, allocations: 322.8 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.741, allocations: 23.98 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.7411, allocations: 27.98 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.7412, allocations: 52.77 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7412, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002117/0.7415, allocations: 101.6 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7415, allocations: 8 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7415, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7415, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.7416, allocations: 4 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7416, allocations: 11.92 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.7418, allocations: 27.92 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.7418, 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.689e-05/0.7419, allocations: 121.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.742, allocations: 7.953 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.742, allocations: 12.31 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.742, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.742, allocations: 3.984 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.7421, allocations: 88.94 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.7421, allocations: 12 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.7423, allocations: 19.97 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.7424, allocations: 19.97 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003813/0.7428, allocations: 180.9 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002974/0.7431, allocations: 263 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001023/0.7432, allocations: 39.97 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.267e-05/0.7433, allocations: 118.1 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of Backend: time 5.61e-07/0.7433, allocations: 3.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.7437, allocations: 114.4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006724/0.7444, allocations: 0.6487 MB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.004048/0.7485, allocations: 1.506 MB / 1.175 GB, free: 11.7 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