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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002615/1.112, allocations: 1.305 MB / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001438/1.113, allocations: 1.085 MB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/1.114, allocations: 8.719 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/1.114, allocations: 35.09 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/1.114, allocations: 29.77 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/1.114, allocations: 112.4 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/1.114, allocations: 300.6 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/1.115, allocations: 174 kB / 1.266 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/1.115, allocations: 126.8 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/1.115, allocations: 122.8 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/1.115, allocations: 35.91 kB / 1.266 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/1.115, allocations: 31.5 kB / 1.266 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/1.115, allocations: 71.09 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/1.115, allocations: 129.5 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/1.116, allocations: 412.1 kB / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.116, allocations: 0 / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.116, allocations: 0 / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.737e-06/1.116, allocations: 1.562 kB / 1.266 GB, free: 5.48 MB / 0.9981 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.0008097/1.117, allocations: 0.5506 MB / 1.267 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/1.117, allocations: 9.781 kB / 1.267 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/1.117, allocations: 31.34 kB / 1.267 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/1.117, allocations: 331.6 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/1.118, allocations: 23.56 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/1.118, allocations: 25.67 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/1.118, allocations: 236.5 kB / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.118, allocations: 192 / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/1.118, allocations: 14.47 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/1.118, allocations: 6.094 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/1.119, allocations: 186.3 kB / 1.268 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.12, allocations: 0.696 MB / 1.269 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/1.12, allocations: 174.8 kB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/1.12, allocations: 77.02 kB / 1.269 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/1.12, allocations: 6.922 kB / 1.269 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/1.12, allocations: 31.69 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/1.12, allocations: 0 / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000705/1.121, allocations: 231.2 kB / 1.269 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/1.121, allocations: 58.16 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/1.121, allocations: 214.1 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.121, allocations: 35.67 kB / 1.269 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/1.122, allocations: 171.4 kB / 1.269 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/1.122, allocations: 54.23 kB / 1.27 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/1.122, allocations: 61.16 kB / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.646e-05/1.122, allocations: 329.6 kB / 1.27 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/1.122, allocations: 63.03 kB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/1.122, allocations: 127 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/1.123, allocations: 178.8 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.123, allocations: 0.75 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004881/1.123, allocations: 236.6 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.123, allocations: 5.125 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.123, allocations: 2.375 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.123, allocations: 2.75 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/1.123, allocations: 36.23 kB / 1.271 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.123, allocations: 12.88 kB / 1.271 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/1.123, allocations: 31.5 kB / 1.271 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/1.123, allocations: 7.094 kB / 1.271 GB, free: 2.625 MB / 0.9981 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.000111/1.124, allocations: 150.3 kB / 1.271 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/1.124, allocations: 17.06 kB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/1.124, allocations: 29.08 kB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.124, allocations: 6.219 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.124, allocations: 0 / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.124, allocations: 0.9688 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/1.124, allocations: 307.5 kB / 1.271 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.124, allocations: 3.938 kB / 1.271 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/1.124, allocations: 27.61 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/1.124, allocations: 1.719 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.124, allocations: 1.734 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.124, allocations: 1.375 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.124, allocations: 2.109 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/1.125, allocations: 284.5 kB / 1.271 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/1.125, allocations: 95.36 kB / 1.271 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/1.125, allocations: 7.172 kB / 1.271 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.125, allocations: 13.95 kB / 1.271 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/1.125, allocations: 23.77 kB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.125, allocations: 12.44 kB / 1.271 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.464e-05/1.125, allocations: 138 kB / 1.272 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.125, allocations: 0 / 1.272 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002993/1.125, allocations: 51.56 kB / 1.272 GB, free: 1.762 MB / 0.9981 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.0001122/1.126, allocations: 113.1 kB / 1.272 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004759/1.126, allocations: 174 kB / 1.272 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.126, allocations: 0 / 1.272 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/1.126, allocations: 80.59 kB / 1.272 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/1.127, allocations: 34.23 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/1.127, allocations: 451.8 kB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/1.128, allocations: 0.7455 MB / 1.273 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/1.128, allocations: 29.56 kB / 1.273 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.128, allocations: 0 / 1.273 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of Templates: time 0.005341/1.133, allocations: 2.76 MB / 1.276 GB, free: 264 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.997045452939346]