Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001503, 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.001409/0.001409, 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.637/2.637, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.88, allocations: 140.4 MB / 0.949 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002766/0.8828, allocations: 1.32 MB / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.884, allocations: 1.069 MB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.8842, allocations: 4.938 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.8844, allocations: 19.73 kB / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.8845, allocations: 18.27 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.8847, allocations: 93.69 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.885, allocations: 263.9 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.8853, allocations: 168.7 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.8855, allocations: 95.98 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.8856, allocations: 110 kB / 0.9521 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.8857, allocations: 15.62 kB / 0.9521 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.8857, allocations: 18.28 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.8858, allocations: 47.67 kB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.8859, allocations: 119.3 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.8862, allocations: 358.9 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8862, allocations: 1.125 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8862, allocations: 0 / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8863, allocations: 0 / 0.9526 GB, free: 6.324 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009182/0.8872, allocations: 0.5423 MB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8872, allocations: 13.78 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.8873, allocations: 31.16 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.8878, allocations: 314.8 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.8879, allocations: 20.78 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.8879, allocations: 23.12 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.8884, allocations: 235.8 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8884, allocations: 3.938 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.8884, allocations: 10.59 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.8884, allocations: 9.719 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.8889, allocations: 176.7 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009467/0.8899, allocations: 0.6655 MB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.8903, allocations: 150.3 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.8904, allocations: 70.22 kB / 0.9548 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.8905, allocations: 5.5 kB / 0.9548 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.8905, allocations: 35.97 kB / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.8905, allocations: 4 kB / 0.9548 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006062/0.8911, allocations: 223.2 kB / 0.955 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.8912, allocations: 52.81 kB / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.8913, allocations: 204 kB / 0.9553 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.8914, allocations: 30.89 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.8915, allocations: 169.6 kB / 0.9555 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.8915, allocations: 50.56 kB / 0.9555 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.8916, allocations: 58.75 kB / 0.9556 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.8917, allocations: 331.5 kB / 0.9559 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.8919, allocations: 63.98 kB / 0.956 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.8921, allocations: 120.2 kB / 0.9561 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.8924, allocations: 164.8 kB / 0.9562 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8924, allocations: 0 / 0.9562 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004321/0.8928, allocations: 220.8 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8929, allocations: 5.344 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8929, allocations: 2.469 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8929, allocations: 2.312 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.8931, allocations: 43.25 kB / 0.9565 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.8931, allocations: 3.125 kB / 0.9565 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.8933, allocations: 21.58 kB / 0.9565 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8933, allocations: 16.2 kB / 0.9565 GB, free: 3.125 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: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (25): * Single equations (assignments): 25 * 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.000239/0.8935, allocations: 152.3 kB / 0.9567 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.8936, allocations: 21.19 kB / 0.9567 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.8937, allocations: 21.62 kB / 0.9567 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8937, allocations: 1.906 kB / 0.9567 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8937, allocations: 0 / 0.9567 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8937, allocations: 5.953 kB / 0.9567 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.8939, allocations: 296 kB / 0.957 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8939, allocations: 4 kB / 0.957 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.8941, allocations: 24.75 kB / 0.957 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8941, allocations: 1.188 kB / 0.957 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.8941, allocations: 1.188 kB / 0.957 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8941, allocations: 5.094 kB / 0.957 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8941, allocations: 3.938 kB / 0.957 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.8945, allocations: 278.5 kB / 0.9573 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.8946, allocations: 94.3 kB / 0.9574 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.8946, allocations: 5.719 kB / 0.9574 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.8948, allocations: 13.42 kB / 0.9574 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.8948, allocations: 30.64 kB / 0.9574 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.8949, allocations: 7.562 kB / 0.9574 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.401e-05/0.895, allocations: 141.4 kB / 0.9576 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.895, allocations: 0 / 0.9576 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002747/0.8952, allocations: 42 kB / 0.9576 GB, free: 2.176 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001288/0.8954, allocations: 117.8 kB / 0.9577 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.8958, allocations: 162.1 kB / 0.9579 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8958, allocations: 1.812 kB / 0.9579 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.896, allocations: 80.95 kB / 0.958 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.8964, allocations: 32.03 kB / 0.958 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008005/0.8972, allocations: 468.4 kB / 0.9584 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.8974, allocations: 0.743 MB / 0.9592 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.8976, allocations: 31.75 kB / 0.9592 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.8977, allocations: 20.06 kB / 0.9592 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of SimCode: time 1.983e-06/0.8977, allocations: 0 / 0.9592 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of Templates: time 0.005563/0.9033, allocations: 1.739 MB / 0.9609 GB, free: 24 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches