Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001466, allocations: 103.8 kB / 16.4 MB, free: 6.457 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.001701/0.001701, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 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.53/2.53, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 59.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9821/0.9837, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002719/0.9865, allocations: 1.442 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.9878, allocations: 1.092 MB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.988, allocations: 4 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.767e-05/0.9881, allocations: 39.47 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.9883, allocations: 43.61 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.9885, allocations: 123.8 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.9889, allocations: 336.6 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.9892, allocations: 202 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.9894, allocations: 147.4 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.9896, allocations: 143.2 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.9897, allocations: 40 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.9897, allocations: 36 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.9898, allocations: 87.69 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.9899, allocations: 155.2 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.9903, allocations: 466 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9903, allocations: 3.938 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9903, allocations: 0 / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.9904, allocations: 0 / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008479/0.9912, allocations: 0.579 MB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.9913, allocations: 8.625 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.9913, allocations: 40.47 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.9919, allocations: 321 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.9919, allocations: 29.03 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.9919, allocations: 32.38 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.9925, allocations: 282.6 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.9925, allocations: 192 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.9925, allocations: 19.88 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.9925, allocations: 11.94 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.993, allocations: 230.5 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.9941, allocations: 0.8036 MB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.9946, allocations: 230.7 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.9948, allocations: 112.8 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.9949, allocations: 4 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.9949, allocations: 34.56 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.9949, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0007043/0.9956, allocations: 299.5 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.9957, allocations: 59.34 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.9958, allocations: 215.6 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.9959, allocations: 29.7 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.996, allocations: 176.2 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.9961, allocations: 74.86 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.9961, allocations: 69.88 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.9963, allocations: 334.8 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.9965, allocations: 72.52 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.9967, allocations: 148.4 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.9971, allocations: 213.4 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9971, allocations: 4 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005066/0.9976, allocations: 269.2 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9976, allocations: 4 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9977, allocations: 4 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.9977, allocations: 4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.9979, allocations: 59.83 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.9979, allocations: 224 / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.9981, allocations: 35.75 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.9981, allocations: 15.98 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001568/0.9983, allocations: 156.1 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.9983, allocations: 19.81 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.9988, allocations: 247.5 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.9989, allocations: 7.938 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9989, allocations: 0 / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9989, allocations: 0 / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.9992, allocations: 349.3 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9992, allocations: 0 / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.9994, allocations: 39.97 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9994, allocations: 0 / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.9995, allocations: 7.984 kB / 1.177 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.9995, allocations: 7.938 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9995, allocations: 3.938 kB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.9999, allocations: 321.7 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/1, allocations: 96.83 kB / 1.177 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1, allocations: 7.984 kB / 1.177 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1, allocations: 19.94 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/1, allocations: 23.95 kB / 1.177 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/1, allocations: 15.98 kB / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001019/1, allocations: 132.2 kB / 1.178 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1, allocations: 7.938 kB / 1.178 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002914/1.001, allocations: 59.69 kB / 1.178 GB, free: 8.875 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: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001441/1.001, allocations: 113.5 kB / 1.178 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004701/1.001, allocations: 214.8 kB / 1.178 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.001, allocations: 4 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/1.002, allocations: 103.9 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/1.002, allocations: 37.34 kB / 1.178 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/1.003, allocations: 0.4918 MB / 1.179 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.003, allocations: 0.7597 MB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/1.003, allocations: 31.42 kB / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.003, allocations: 0 / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.004562/1.008, allocations: 3.007 MB / 1.182 GB, free: 4.074 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches