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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_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_10_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.001184/0.001184, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001113/0.001113, allocations: 191 kB / 16.25 MB, free: 6.637 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.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.213/2.213, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 71.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4593, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002221/0.4615, allocations: 1.479 MB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00097/0.4625, allocations: 1.069 MB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.4626, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.619e-05/0.4627, allocations: 27.72 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.4628, allocations: 27.78 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.463, allocations: 99.88 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.4633, allocations: 332.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.4636, allocations: 217.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.4637, allocations: 127.5 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4638, allocations: 151.2 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.4639, allocations: 40 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.4639, allocations: 36 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.464, allocations: 75.77 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.693e-05/0.4641, allocations: 159.1 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.4644, allocations: 452.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.4644, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4644, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.4644, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 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.0006676/0.4651, allocations: 0.577 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4651, allocations: 8.031 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.4652, allocations: 70.72 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.4652, allocations: 36.47 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.4657, allocations: 337 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.4657, allocations: 33.03 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.4658, allocations: 28.38 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.4662, allocations: 282.6 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4663, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.4663, allocations: 12 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4663, allocations: 11.98 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.4667, allocations: 234.5 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.4676, allocations: 0.8114 MB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.4681, allocations: 237.4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.4683, allocations: 112.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4683, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4683, allocations: 38.56 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.042e-06/0.4683, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0006193/0.469, allocations: 303.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.469, allocations: 51.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4691, allocations: 208.7 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4692, allocations: 29.7 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.4693, allocations: 184.1 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.4693, allocations: 74.84 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.4694, allocations: 69.91 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.4695, allocations: 334.8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4697, allocations: 80.5 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4699, allocations: 136.4 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.4702, allocations: 225.9 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4702, allocations: 0 / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004443/0.4707, allocations: 265.1 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4707, allocations: 4 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4707, allocations: 12.16 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4707, allocations: 7.938 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.4709, allocations: 51.91 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.471, allocations: 4 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.4711, allocations: 27.83 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4711, allocations: 8 kB / 1.026 GB, free: 9.352 MB / 0.7794 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.0001153/0.4712, allocations: 154.3 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.4713, allocations: 23.72 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.4717, allocations: 253.3 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4717, allocations: 7.938 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4718, allocations: 3.984 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4718, allocations: 0 / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.4721, allocations: 341.4 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4721, allocations: 4 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.4722, allocations: 43.91 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4723, allocations: 0 / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4723, allocations: 4 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4723, allocations: 7.938 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4723, allocations: 0 / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.4727, allocations: 329.7 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.4728, allocations: 100.8 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4728, allocations: 8 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.4729, allocations: 19.92 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.473, allocations: 23.97 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.473, allocations: 8 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.4731, allocations: 136.5 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4731, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00026/0.4734, allocations: 63.78 kB / 1.027 GB, free: 7.758 MB / 0.7794 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.0006392/0.474, allocations: 0.8695 MB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.4745, allocations: 230.5 kB / 1.028 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.4745, allocations: 3.938 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4747, allocations: 111.9 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4749, allocations: 28.38 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.4774, allocations: 2.47 MB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4777, allocations: 0.7636 MB / 1.032 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.4778, allocations: 34.28 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4779, allocations: 99.39 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.478, allocations: 0 / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.276/3.754, allocations: 3.816 MB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/3.754, allocations: 253.8 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/5.29, allocations: 4 kB / 1.036 GB, free: 15.14 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > 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