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.00125/0.001254, 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.001271/0.001271, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.551 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 2.071/2.071, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.84 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4769, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002156/0.4791, allocations: 1.462 MB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.4802, allocations: 1.074 MB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.4803, allocations: 4.219 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.763e-05/0.4804, allocations: 23.72 kB / 0.9516 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.4805, allocations: 23.52 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.4808, allocations: 102.7 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.481, allocations: 312.9 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.4812, allocations: 195.8 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.4814, allocations: 120.9 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4815, allocations: 137.2 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.4816, allocations: 19.69 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.4816, allocations: 23.91 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.4816, allocations: 60.62 kB / 0.9526 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.4817, allocations: 136.4 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.482, allocations: 442.6 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.482, allocations: 0 / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.52e-07/0.482, allocations: 1.188 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.482, allocations: 0 / 0.9531 GB, free: 5.902 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.0006632/0.4827, allocations: 0.5746 MB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4827, allocations: 14.09 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.4828, allocations: 69.38 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.4828, allocations: 33.59 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.4833, allocations: 325.4 kB / 0.9541 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4833, allocations: 27.5 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.4833, allocations: 45.06 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.4838, allocations: 287.1 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4838, allocations: 0.9688 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.4838, allocations: 10.22 kB / 0.9545 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4839, allocations: 8.688 kB / 0.9545 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.4843, allocations: 232.9 kB / 0.9547 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.4852, allocations: 0.8106 MB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.4856, allocations: 238.9 kB / 0.9557 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.4858, allocations: 109.4 kB / 0.9558 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4859, allocations: 7.562 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.4859, allocations: 41.61 kB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.4859, allocations: 0 / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006169/0.4865, allocations: 297.3 kB / 0.9561 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.4865, allocations: 54.78 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4867, allocations: 214.6 kB / 0.9564 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4867, allocations: 30.86 kB / 0.9564 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.4867, allocations: 168 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.4868, allocations: 84.61 kB / 0.9567 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.4869, allocations: 63.28 kB / 0.9567 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.4869, allocations: 339.2 kB / 0.957 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4871, allocations: 73.48 kB / 0.9571 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.4873, allocations: 142.6 kB / 0.9573 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.4876, allocations: 208.3 kB / 0.9575 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4877, allocations: 0 / 0.9575 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004427/0.4881, allocations: 276.5 kB / 0.9577 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4881, allocations: 9.656 kB / 0.9577 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4881, allocations: 2.75 kB / 0.9577 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4881, allocations: 2.75 kB / 0.9577 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4884, allocations: 51.78 kB / 0.9578 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4884, allocations: 6.734 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4885, allocations: 25.69 kB / 0.9578 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.4886, allocations: 16.23 kB / 0.9578 GB, free: 2.234 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.775e-05/0.4887, allocations: 147.7 kB / 0.958 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.4887, allocations: 25.28 kB / 0.958 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.4892, allocations: 255.8 kB / 0.9582 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4892, allocations: 2.938 kB / 0.9582 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4892, allocations: 1.5 kB / 0.9582 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4892, allocations: 3.938 kB / 0.9582 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.4895, allocations: 347.3 kB / 0.9586 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4895, allocations: 0 / 0.9586 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.4897, allocations: 41.41 kB / 0.9586 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4897, allocations: 4.875 kB / 0.9586 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4897, allocations: 5.812 kB / 0.9586 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4897, allocations: 5.281 kB / 0.9586 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4897, allocations: 3.984 kB / 0.9586 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.4901, allocations: 322.7 kB / 0.9589 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.4901, allocations: 93.83 kB / 0.959 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4902, allocations: 14.12 kB / 0.959 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4903, allocations: 13.55 kB / 0.9591 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.4904, allocations: 26.03 kB / 0.9591 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.4904, allocations: 9.453 kB / 0.9591 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.4905, allocations: 136.5 kB / 0.9592 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.31e-07/0.4905, allocations: 0 / 0.9592 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002863/0.4908, allocations: 65.94 kB / 0.9593 GB, free: 1.09 MB / 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.0005679/0.4913, allocations: 0.8811 MB / 0.9601 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.4918, allocations: 206.7 kB / 0.9603 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4918, allocations: 7.938 kB / 0.9603 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.492, allocations: 112.7 kB / 0.9605 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4923, allocations: 25.06 kB / 0.9605 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.495, allocations: 2.475 MB / 0.9629 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4953, allocations: 0.7667 MB / 0.9636 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.4954, allocations: 28.92 kB / 0.9637 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.4956, allocations: 99.14 kB / 0.9638 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.4956, allocations: 1.5 kB / 0.9638 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.748, allocations: 3.706 MB / 0.9674 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.7483, allocations: 264 kB / 0.9676 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.284, allocations: 1.719 kB / 0.9676 GB, free: 11.38 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