Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.007026/0.007026, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001648/0.001648, allocations: 194.5 kB / 16.67 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.09 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6708, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002183/0.673, allocations: 1.438 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.6741, allocations: 1.094 MB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.6742, allocations: 4.656 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.366e-05/0.6743, allocations: 39.06 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.6744, allocations: 38.75 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.6746, allocations: 116.8 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.6749, allocations: 338.3 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.6752, allocations: 204.3 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.6754, allocations: 136 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.6756, allocations: 145.8 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.6756, allocations: 41.75 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.6757, allocations: 38.56 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.6757, allocations: 81.53 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.775e-05/0.6758, allocations: 152 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.6763, allocations: 477 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6763, allocations: 1.438 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6763, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6763, allocations: 4.719 kB / 1.092 GB, free: 2.508 MB / 0.8575 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.0007102/0.677, allocations: 0.5751 MB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.677, allocations: 9.844 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.6771, allocations: 69.34 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.6772, allocations: 41.53 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.6777, allocations: 330.5 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.6777, allocations: 27.38 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.6777, allocations: 33.62 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.6783, allocations: 288.1 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6783, allocations: 0 / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.6783, allocations: 11.58 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.6783, allocations: 8.75 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.6789, allocations: 234.5 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.6799, allocations: 0.793 MB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.6804, allocations: 237.2 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.6807, allocations: 110.3 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.6807, allocations: 7.812 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.6807, allocations: 32.92 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.6807, allocations: 0 / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007492/0.6815, allocations: 308.3 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.6815, allocations: 58.19 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.6817, allocations: 204.5 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.6817, allocations: 31.02 kB / 1.095 GB, free: 352 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.6818, allocations: 175 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.6818, allocations: 84.14 kB / 1.095 GB, free: 128 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.6819, allocations: 62.58 kB / 1.095 GB, free: 92 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6821, allocations: 338.4 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.6823, allocations: 74.23 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.6826, allocations: 134.6 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.683, allocations: 217.2 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.683, allocations: 0 / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005937/0.6836, allocations: 272.1 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6837, allocations: 10.34 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6837, allocations: 1.812 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6837, allocations: 11.95 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.684, allocations: 52.08 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.684, allocations: 3.891 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.6841, allocations: 28.75 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.6842, allocations: 13.11 kB / 1.096 GB, free: 15.37 MB / 0.8731 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.000147/0.6843, allocations: 159.5 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.6844, allocations: 22.98 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.685, allocations: 253.2 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.685, allocations: 2.969 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.685, allocations: 5.609 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.685, allocations: 1.359 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.6854, allocations: 344.2 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6854, allocations: 0 / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.6856, allocations: 44.8 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6857, allocations: 5.094 kB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.6857, allocations: 7.281 kB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6857, allocations: 1.062 kB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6857, allocations: 0 / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.6862, allocations: 334.1 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.6863, allocations: 99.31 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.6863, allocations: 9.609 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.6865, allocations: 8.281 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.6866, allocations: 28.44 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.6866, allocations: 6.094 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001127/0.6867, allocations: 139 kB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6867, allocations: 0 / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003264/0.687, allocations: 58.78 kB / 1.098 GB, free: 14.36 MB / 0.8731 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.0007881/0.6878, allocations: 0.8714 MB / 1.099 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005216/0.6884, allocations: 222 kB / 1.099 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6884, allocations: 1.188 kB / 1.099 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.6886, allocations: 114 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.689, allocations: 24.53 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.6921, allocations: 2.369 MB / 1.101 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.6924, allocations: 0.767 MB / 1.102 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000136/0.6926, allocations: 36.7 kB / 1.102 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.6927, allocations: 98.11 kB / 1.102 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.6927, allocations: 4.125 kB / 1.102 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.713, allocations: 4.036 MB / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/8.268, allocations: 5.625 kB / 1.106 GB, free: 10.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches