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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001811/0.001811, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4667, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002454/0.4691, allocations: 1.482 MB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4703, allocations: 1.077 MB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.4705, allocations: 4 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.034e-05/0.4705, allocations: 23.72 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.4707, allocations: 19.8 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.4709, allocations: 103.9 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.4712, allocations: 308.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.4715, allocations: 202 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.4716, allocations: 123.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.4718, allocations: 135.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.4718, allocations: 20 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.052e-05/0.4719, allocations: 20 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.4719, allocations: 55.77 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.472, allocations: 147.1 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.4723, allocations: 440.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4723, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4723, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4723, allocations: 0 / 1.021 GB, free: 14.7 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.0007078/0.4731, allocations: 0.5732 MB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.4731, allocations: 8.031 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.4732, allocations: 70.72 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.4732, allocations: 40.47 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.4737, allocations: 337.4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4737, allocations: 29.03 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.4738, allocations: 28.38 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4742, allocations: 278.6 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4743, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.4743, allocations: 20 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4743, allocations: 12 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.4748, allocations: 230.5 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/0.4757, allocations: 0.8075 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.4761, allocations: 232.5 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.4764, allocations: 112.8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4764, allocations: 11.97 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.4764, allocations: 46.59 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.4764, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.000633/0.4771, allocations: 294.7 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.4771, allocations: 55.41 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4773, allocations: 207.7 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4773, allocations: 29.7 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.4774, allocations: 180.2 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.4774, allocations: 78.84 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.4775, allocations: 65.97 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.4776, allocations: 330.8 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.4778, allocations: 80.52 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.478, allocations: 143.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.4784, allocations: 218.6 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4784, allocations: 0 / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004645/0.4789, allocations: 273.1 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4789, allocations: 6.344 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4789, allocations: 7.938 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4789, allocations: 3.938 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.4791, allocations: 55.91 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4791, allocations: 7.984 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4793, allocations: 23.84 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4793, allocations: 16.2 kB / 1.026 GB, free: 9.57 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.0001196/0.4794, allocations: 154.3 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.4795, allocations: 23.66 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.4799, allocations: 249.3 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.48, allocations: 7.938 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.48, allocations: 4 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.48, allocations: 0 / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.4803, allocations: 341.4 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4803, allocations: 0 / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.4805, allocations: 43.91 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4805, allocations: 0 / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4805, allocations: 7.984 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4805, allocations: 11.88 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4805, allocations: 0 / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.4809, allocations: 321.8 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.481, allocations: 100.8 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.481, allocations: 4 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4812, allocations: 15.92 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.4812, allocations: 31.95 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4813, allocations: 15.94 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.833e-05/0.4814, allocations: 136.2 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4814, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002682/0.4816, allocations: 59.78 kB / 1.027 GB, free: 7.98 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.0006717/0.4823, allocations: 0.8718 MB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.4827, allocations: 210.6 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4827, allocations: 0 / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.4829, allocations: 116.3 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4832, allocations: 25.97 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.4858, allocations: 2.478 MB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4861, allocations: 0.7635 MB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.4863, allocations: 34.22 kB / 1.031 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4864, allocations: 99.34 kB / 1.031 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4864, allocations: 0 / 1.031 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3484/0.8348, allocations: 3.703 MB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.8351, allocations: 252.4 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.499, allocations: 0 / 1.035 GB, free: 15.46 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