Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007206/0.007206, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001813/0.001813, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.57/2.57, allocations: 469.4 MB / 0.7422 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.6449, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002519/0.6474, allocations: 1.423 MB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.6488, allocations: 1.096 MB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.649, allocations: 4 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.544e-05/0.6491, allocations: 39.53 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.6492, allocations: 47.53 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.6495, allocations: 131.8 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.6498, allocations: 340.6 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.6502, allocations: 217.9 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.6504, allocations: 131.5 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.6505, allocations: 155.2 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.6506, allocations: 40 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.6506, allocations: 43.94 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.6507, allocations: 75.77 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.6508, allocations: 159.1 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.6513, allocations: 489.5 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6513, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6513, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6513, allocations: 0 / 1.224 GB, free: 13.9 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0007956/0.6521, allocations: 0.5926 MB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.6522, allocations: 8.031 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.6523, allocations: 70.72 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.6523, allocations: 40.7 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.6528, allocations: 333.4 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.6529, allocations: 25.38 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.6529, allocations: 36.31 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.6535, allocations: 303 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6535, allocations: 3.938 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.6535, allocations: 12 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.6536, allocations: 8 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.6541, allocations: 235.9 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.6551, allocations: 0.8175 MB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.6556, allocations: 245.8 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.6559, allocations: 117.3 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.6559, allocations: 4.219 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.656, allocations: 42.83 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.656, allocations: 0 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0007451/0.6567, allocations: 312.1 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.6568, allocations: 55.41 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.6569, allocations: 211.7 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.657, allocations: 33.7 kB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.6571, allocations: 180.5 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.6571, allocations: 83.27 kB / 1.228 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.6572, allocations: 69.97 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.6573, allocations: 330.8 kB / 1.228 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.6576, allocations: 80.52 kB / 1.228 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.6578, allocations: 139.9 kB / 1.228 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.6582, allocations: 214.7 kB / 1.228 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6582, allocations: 7.984 kB / 1.228 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000543/0.6588, allocations: 273.3 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6588, allocations: 9.5 kB / 1.229 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6588, allocations: 7.984 kB / 1.229 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6589, allocations: 7.938 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6591, allocations: 51.91 kB / 1.229 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6591, allocations: 8.219 kB / 1.229 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.6593, allocations: 31.83 kB / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.6593, allocations: 11.94 kB / 1.229 GB, free: 8.676 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.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 (34): * Single equations (assignments): 34 * 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.0001837/0.6595, allocations: 158.2 kB / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.6596, allocations: 23.86 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.6601, allocations: 260.5 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6601, allocations: 4 kB / 1.229 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6601, allocations: 0 / 1.229 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.6601, allocations: 3.984 kB / 1.229 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.6605, allocations: 345.4 kB / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6605, allocations: 0 / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.6607, allocations: 39.91 kB / 1.23 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6607, allocations: 0 / 1.23 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.6608, allocations: 15.94 kB / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6608, allocations: 0 / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6608, allocations: 0 / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.6613, allocations: 327.3 kB / 1.23 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.6613, allocations: 100.9 kB / 1.23 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.6614, allocations: 7.938 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.6615, allocations: 23.92 kB / 1.23 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.6616, allocations: 23.91 kB / 1.23 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.6616, allocations: 12 kB / 1.23 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001043/0.6617, allocations: 141.5 kB / 1.23 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6618, allocations: 0 / 1.23 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003054/0.6621, allocations: 55.84 kB / 1.23 GB, free: 7.066 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0007682/0.6628, allocations: 0.8845 MB / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.6633, allocations: 228.1 kB / 1.231 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6634, allocations: 0 / 1.231 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.6636, allocations: 115.9 kB / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.6639, allocations: 23.94 kB / 1.232 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.6668, allocations: 2.408 MB / 1.234 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.6671, allocations: 0.7597 MB / 1.235 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.6673, allocations: 34.28 kB / 1.235 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.6674, allocations: 107.4 kB / 1.235 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.6674, allocations: 0 / 1.235 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.6861, allocations: 4.08 MB / 1.239 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.914, allocations: 2 kB / 1.239 GB, free: 14.46 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches