Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01045/0.01045, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.002494/0.002494, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.569/1.569, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.047/3.047, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3978, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.0028/0.4006, allocations: 1.306 MB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4021, allocations: 1.08 MB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.4022, allocations: 11.88 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.4024, allocations: 35.59 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.4025, allocations: 35.59 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.4028, allocations: 107.8 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.4032, allocations: 308.3 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.4035, allocations: 168.8 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.4037, allocations: 111.6 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4039, allocations: 135.3 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.4039, allocations: 32 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.404, allocations: 32 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.404, allocations: 67.83 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.4042, allocations: 135.2 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.4045, allocations: 406.5 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4045, allocations: 0 / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4045, allocations: 3.984 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4046, allocations: 0 / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008969/0.4055, allocations: 0.5507 MB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4055, allocations: 8.625 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.4056, allocations: 32.56 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.4061, allocations: 321 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.4062, allocations: 20.94 kB / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.4062, allocations: 28.38 kB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.4067, allocations: 237.4 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4067, allocations: 192 / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.4067, allocations: 11.94 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.4067, allocations: 11.98 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.4072, allocations: 190.1 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.4082, allocations: 0.6861 MB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.4086, allocations: 174.7 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.4088, allocations: 80.81 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4088, allocations: 3.938 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4088, allocations: 34.56 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.4088, allocations: 4 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.0005823/0.4094, allocations: 234.6 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.4095, allocations: 55.41 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4097, allocations: 211.6 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4097, allocations: 33.7 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4098, allocations: 160.5 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.4098, allocations: 59.19 kB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.4099, allocations: 61.92 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4101, allocations: 326.8 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4102, allocations: 64.42 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.4105, allocations: 127.7 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.4108, allocations: 176 kB / 1.215 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4109, allocations: 3.938 kB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004626/0.4113, allocations: 227.2 kB / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4113, allocations: 4 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4114, allocations: 4 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4114, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4116, allocations: 52.12 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4116, allocations: 4 kB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4117, allocations: 31.73 kB / 1.216 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4117, allocations: 4 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (27): * Single equations (assignments): 27 * 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.0001664/0.4119, allocations: 157.7 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.412, allocations: 15.81 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.412, allocations: 29.86 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.412, allocations: 3.984 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.412, allocations: 0 / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.412, allocations: 4 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.4124, allocations: 301.4 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4124, allocations: 0 / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.4125, allocations: 31.91 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4126, allocations: 0 / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.4126, allocations: 4 kB / 1.216 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4126, allocations: 4 kB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4126, allocations: 4 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.413, allocations: 276.9 kB / 1.216 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.4131, allocations: 92.86 kB / 1.217 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.4131, allocations: 4 kB / 1.217 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4133, allocations: 11.98 kB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4134, allocations: 35.95 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4134, allocations: 4 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.797e-05/0.4135, allocations: 141.5 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4135, allocations: 0 / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003137/0.4138, allocations: 43.8 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (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,actAirSet.or2.y,actAirSet.or4.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 (19): * Single equations (assignments): 19 * 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.0001542/0.414, allocations: 116.2 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.4144, allocations: 175.7 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4145, allocations: 0 / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.4146, allocations: 86.12 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.415, allocations: 32.3 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.4157, allocations: 410 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.4161, allocations: 0.7487 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.4162, allocations: 29.94 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.4163, allocations: 19.44 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.4163, allocations: 0 / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.005437/0.4217, allocations: 2.042 MB / 1.22 GB, free: 12.33 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches