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.009978/0.009986, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001449/0.001449, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.752/2.752, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67 kB / 0.9509 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 140.4 MB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002736/0.3651, allocations: 1.279 MB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3665, allocations: 1.073 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3667, allocations: 7.938 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3669, allocations: 35.59 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.367, allocations: 39.61 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.3672, allocations: 111.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.3675, allocations: 292.3 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.3678, allocations: 168.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.368, allocations: 111.5 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3681, allocations: 127.4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.3682, allocations: 32 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.345e-05/0.3682, allocations: 28 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.3683, allocations: 67.77 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3684, allocations: 123.3 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.3688, allocations: 394.3 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3688, allocations: 0 / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3688, allocations: 0 / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3688, allocations: 0 / 1.092 GB, free: 13.76 MB / 0.8575 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.0008515/0.3697, allocations: 0.5495 MB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3697, allocations: 12.03 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.3698, allocations: 28.75 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.3704, allocations: 321.1 kB / 1.093 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3705, allocations: 24.88 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.3705, allocations: 28.38 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.3709, allocations: 225 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.371, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.371, allocations: 15.98 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.371, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.3715, allocations: 178.1 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.3724, allocations: 0.6626 MB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.3728, allocations: 142.5 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.373, allocations: 77 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.373, allocations: 0 / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.373, allocations: 38.5 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.373, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0006021/0.3736, allocations: 218.9 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3737, allocations: 51.41 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3739, allocations: 211.7 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3739, allocations: 33.7 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.374, allocations: 164.4 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.3741, allocations: 51.58 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.3741, allocations: 57.69 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3742, allocations: 330.8 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.3744, allocations: 63.95 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3746, allocations: 118.8 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.375, allocations: 160.9 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.375, allocations: 7.938 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004679/0.3755, allocations: 221.2 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3755, allocations: 5.875 kB / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3755, allocations: 4 kB / 1.096 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3755, allocations: 4 kB / 1.096 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3757, allocations: 44.12 kB / 1.096 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3757, allocations: 4 kB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3759, allocations: 27.88 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3759, allocations: 4 kB / 1.096 GB, free: 9.449 MB / 0.8575 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.000131/0.376, allocations: 149.7 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.3761, allocations: 19.86 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3761, allocations: 37.84 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3761, allocations: 0 / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3762, allocations: 0 / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3762, allocations: 0 / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3765, allocations: 301.4 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3765, allocations: 4 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3766, allocations: 23.92 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3766, allocations: 4 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3767, allocations: 7.938 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3767, allocations: 0 / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3767, allocations: 7.984 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.3771, allocations: 267.2 kB / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.3772, allocations: 89.02 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.3772, allocations: 4 kB / 1.097 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3774, allocations: 11.98 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.3774, allocations: 35.95 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3775, allocations: 4 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000105/0.3776, allocations: 141.5 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3776, allocations: 3.938 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000288/0.3779, allocations: 51.78 kB / 1.097 GB, free: 8.223 MB / 0.8575 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.0001326/0.378, allocations: 108.4 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.3784, allocations: 165.7 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3785, allocations: 0 / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3786, allocations: 83.89 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.379, allocations: 32.89 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.3797, allocations: 385.8 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.38, allocations: 0.7445 MB / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.3801, allocations: 29.94 kB / 1.098 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.3802, allocations: 23.44 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.3802, allocations: 0 / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of Templates: time 0.005248/0.3854, allocations: 1.944 MB / 1.1 GB, free: 4.723 MB / 0.8575 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