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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008543/0.0008543, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005333/0.005333, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.996/1.996, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 11.98 kB / 0.8161 GB, free: 13.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4949, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001221/0.4961, allocations: 1.096 MB / 0.9563 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.497, allocations: 1.068 MB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.4971, allocations: 3.594 kB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.4971, allocations: 15.8 kB / 0.9574 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.4972, allocations: 31.91 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4974, allocations: 107.2 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4977, allocations: 308.2 kB / 0.9578 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.4979, allocations: 192.8 kB / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.498, allocations: 91.08 kB / 0.9581 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.4981, allocations: 102.8 kB / 0.9581 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.4982, allocations: 7.688 kB / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.4982, allocations: 8.594 kB / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.4982, allocations: 42.38 kB / 0.9582 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.4983, allocations: 135.1 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.4985, allocations: 425.8 kB / 0.9587 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4985, allocations: 0 / 0.9587 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4985, allocations: 3.938 kB / 0.9587 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4985, allocations: 0 / 0.9587 GB, free: 4.926 MB / 0.7169 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.0005278/0.4991, allocations: 0.5235 MB / 0.9593 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.4991, allocations: 8.906 kB / 0.9593 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.4992, allocations: 69.31 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.4992, allocations: 37.47 kB / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.4996, allocations: 343.8 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4997, allocations: 23.34 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.4997, allocations: 37 kB / 0.9598 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.5002, allocations: 288.4 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5002, allocations: 4 kB / 0.96 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.5002, allocations: 14.75 kB / 0.96 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.5002, allocations: 12.19 kB / 0.9601 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.5007, allocations: 241.2 kB / 0.9603 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.5015, allocations: 0.8142 MB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.5019, allocations: 242.3 kB / 0.9613 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.5021, allocations: 114.4 kB / 0.9614 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.5022, allocations: 3.188 kB / 0.9614 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.5022, allocations: 39.58 kB / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.142e-06/0.5022, allocations: 4 kB / 0.9615 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006425/0.5028, allocations: 320.5 kB / 0.9618 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.5029, allocations: 57.59 kB / 0.9618 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.503, allocations: 215.8 kB / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.503, allocations: 31.05 kB / 0.9621 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.5031, allocations: 179.7 kB / 0.9622 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.5031, allocations: 72.66 kB / 0.9623 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.5032, allocations: 44.09 kB / 0.9623 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.5032, allocations: 331 kB / 0.9627 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.5034, allocations: 87.75 kB / 0.9627 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.5036, allocations: 147.3 kB / 0.9629 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.504, allocations: 219.6 kB / 0.9631 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.504, allocations: 1.344 kB / 0.9631 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004657/0.5045, allocations: 282.6 kB / 0.9634 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5045, allocations: 9.938 kB / 0.9634 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5045, allocations: 2.469 kB / 0.9634 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5045, allocations: 15.06 kB / 0.9634 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.5047, allocations: 53.69 kB / 0.9634 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5047, allocations: 3.562 kB / 0.9634 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5049, allocations: 32.23 kB / 0.9635 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.5049, allocations: 12.5 kB / 0.9635 GB, free: 1.293 MB / 0.7169 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 9.727e-05/0.505, allocations: 151.3 kB / 0.9636 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.505, allocations: 24.69 kB / 0.9637 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.5055, allocations: 260.1 kB / 0.9639 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5055, allocations: 3.375 kB / 0.9639 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5055, allocations: 0 / 0.9639 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5055, allocations: 5.328 kB / 0.9639 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.5058, allocations: 340.4 kB / 0.9642 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5058, allocations: 0 / 0.9642 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.506, allocations: 42.97 kB / 0.9643 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.506, allocations: 11.38 kB / 0.9643 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.506, allocations: 4 kB / 0.9643 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.506, allocations: 4 kB / 0.9643 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.506, allocations: 3.781 kB / 0.9643 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.5064, allocations: 341.3 kB / 0.9646 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.5064, allocations: 98.92 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.5065, allocations: 9.344 kB / 0.9647 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.5066, allocations: 17.48 kB / 0.9647 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.5067, allocations: 21.53 kB / 0.9648 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5067, allocations: 5.344 kB / 0.9648 GB, free: 292 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.5068, allocations: 136.6 kB / 0.9649 GB, free: 188 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5068, allocations: 0 / 0.9649 GB, free: 188 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002642/0.507, allocations: 65.88 kB / 0.965 GB, free: 160 kB / 0.7169 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.000697/0.5077, allocations: 0.8922 MB / 0.9658 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.5082, allocations: 226.7 kB / 0.9661 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5082, allocations: 0 / 0.9661 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.5084, allocations: 118.1 kB / 0.9662 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.5087, allocations: 24.19 kB / 0.9662 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.5115, allocations: 2.52 MB / 0.9686 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5117, allocations: 0.7626 MB / 0.9694 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.5119, allocations: 33.47 kB / 0.9694 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.512, allocations: 94.62 kB / 0.9695 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.512, allocations: 0 / 0.9695 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.787/1.299, allocations: 3.629 MB / 0.9731 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.299, allocations: 264.7 kB / 0.9733 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.903, allocations: 0 / 0.9733 GB, free: 10.52 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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