Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 195 kB / 16.14 MB, free: 6.648 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.5 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.096/2.096, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.812 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4998, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001976/0.5018, allocations: 1.064 MB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.5027, allocations: 0.976 MB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.5029, allocations: 5.156 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.5029, allocations: 13.17 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.503, allocations: 9.281 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.5032, allocations: 61.58 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.5033, allocations: 147.6 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.5035, allocations: 82.64 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.5036, allocations: 68.27 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.5037, allocations: 63.12 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.5037, allocations: 8.625 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.5037, allocations: 13.66 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.5038, allocations: 36.77 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.5038, allocations: 57.02 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.504, allocations: 193.5 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.504, allocations: 4 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.504, allocations: 0 / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.504, allocations: 0 / 0.9518 GB, free: 7.004 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005015/0.5045, allocations: 450.3 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5045, allocations: 13.69 kB / 0.9523 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.5046, allocations: 51.17 kB / 0.9523 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.5046, allocations: 16.5 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.505, allocations: 249.7 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.505, allocations: 10.16 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.505, allocations: 14.44 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.5053, allocations: 153.6 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5053, allocations: 4 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5053, allocations: 5.406 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5053, allocations: 3.781 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.5056, allocations: 110.7 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.5061, allocations: 487.1 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.5064, allocations: 102.6 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.5065, allocations: 53.77 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5065, allocations: 1.406 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.5065, allocations: 31.88 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.5065, allocations: 0 / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004541/0.507, allocations: 171.6 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.507, allocations: 56.81 kB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.5071, allocations: 155.7 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5071, allocations: 26.86 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.5072, allocations: 119.4 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.5072, allocations: 27.12 kB / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.5073, allocations: 50.19 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.5073, allocations: 326.5 kB / 0.9544 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.5074, allocations: 42.03 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.5076, allocations: 66.28 kB / 0.9545 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.5078, allocations: 108.4 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5078, allocations: 0 / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003022/0.5081, allocations: 148.2 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5082, allocations: 5.75 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5082, allocations: 3.938 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.5082, allocations: 2.656 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5083, allocations: 29.72 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5084, allocations: 2.625 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.5085, allocations: 22.2 kB / 0.9548 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5085, allocations: 8.125 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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 7.373e-05/0.5086, allocations: 128.4 kB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.5086, allocations: 8.906 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.5086, allocations: 15.09 kB / 0.955 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5086, allocations: 5.25 kB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5086, allocations: 3.984 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5087, allocations: 3.938 kB / 0.955 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.5088, allocations: 234.8 kB / 0.9552 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5088, allocations: 0 / 0.9552 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.509, allocations: 22.44 kB / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.509, allocations: 0 / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.509, allocations: 5.188 kB / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.509, allocations: 0.9688 kB / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.509, allocations: 0 / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.5093, allocations: 233.8 kB / 0.9554 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.5093, allocations: 91.92 kB / 0.9555 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5094, allocations: 1.031 kB / 0.9555 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5095, allocations: 17.38 kB / 0.9555 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.5095, allocations: 18.78 kB / 0.9556 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.5095, allocations: 11.03 kB / 0.9556 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.5096, allocations: 104.2 kB / 0.9557 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5096, allocations: 1.031 kB / 0.9557 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002374/0.5098, allocations: 25.09 kB / 0.9557 GB, free: 3.574 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: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004776/0.5103, allocations: 0.7773 MB / 0.9565 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.5106, allocations: 106.2 kB / 0.9566 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5107, allocations: 0 / 0.9566 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.5108, allocations: 53.66 kB / 0.9566 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.5111, allocations: 21.91 kB / 0.9566 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.5128, allocations: 1.758 MB / 0.9583 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.513, allocations: 0.7127 MB / 0.959 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.898e-05/0.5131, allocations: 15.8 kB / 0.9591 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.5132, allocations: 46.52 kB / 0.9591 GB, free: 476 kB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.5132, allocations: 4 kB / 0.9591 GB, free: 472 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.5409, allocations: 2.583 MB / 0.9616 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.5412, allocations: 260.9 kB / 0.9619 GB, free: 15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.111, allocations: 2.234 kB / 0.9619 GB, free: 15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches