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.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: 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.001131/0.001131, allocations: 106 kB / 16.35 MB, free: 5.824 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.001134/0.001135, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.25 kB / 0.8141 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 140.4 MB / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002675/0.2969, allocations: 1.296 MB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2983, allocations: 1.076 MB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2984, allocations: 8 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.2986, allocations: 27.61 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.2987, allocations: 31.61 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.299, allocations: 111.8 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.2993, allocations: 284.4 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.2996, allocations: 168.8 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2998, allocations: 119.5 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3, allocations: 123.4 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.3, allocations: 32 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/0.3001, allocations: 28 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.3001, allocations: 63.77 kB / 0.9544 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3002, allocations: 127.3 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.3007, allocations: 390.5 kB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3007, allocations: 3.938 kB / 0.9549 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3007, allocations: 0 / 0.9549 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.3007, allocations: 4 kB / 0.9549 GB, free: 4.074 MB / 0.7325 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.000842/0.3015, allocations: 0.5341 MB / 0.9555 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3016, allocations: 12.03 kB / 0.9555 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.3016, allocations: 32.56 kB / 0.9555 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.3022, allocations: 317 kB / 0.9558 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3023, allocations: 20.94 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.3023, allocations: 24.38 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.3028, allocations: 229 kB / 0.9561 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3028, allocations: 0 / 0.9561 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.3028, allocations: 12 kB / 0.9561 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3028, allocations: 11.94 kB / 0.9561 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.3033, allocations: 178.1 kB / 0.9563 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3043, allocations: 0.6624 MB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.3047, allocations: 142.8 kB / 0.957 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3049, allocations: 76.77 kB / 0.9571 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3049, allocations: 3.906 kB / 0.9571 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3049, allocations: 34.56 kB / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.305, allocations: 0 / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0005918/0.3056, allocations: 219.3 kB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3056, allocations: 55.41 kB / 0.9574 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3058, allocations: 207.7 kB / 0.9576 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.3058, allocations: 29.7 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3059, allocations: 167.9 kB / 0.9578 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.306, allocations: 51.42 kB / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.3061, allocations: 53.7 kB / 0.9579 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3063, allocations: 334.8 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.3064, allocations: 67.89 kB / 0.9583 GB, free: 428 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3066, allocations: 116.8 kB / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.307, allocations: 164.9 kB / 0.9586 GB, free: 100 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.307, allocations: 8 kB / 0.9586 GB, free: 92 kB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004379/0.3074, allocations: 209.2 kB / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3075, allocations: 8 kB / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3075, allocations: 0 / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3075, allocations: 8 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.3077, allocations: 44.12 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3077, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3078, allocations: 35.67 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3079, allocations: 11.98 kB / 0.9589 GB, free: 15.77 MB / 0.7481 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.0001236/0.308, allocations: 153.7 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.308, allocations: 15.81 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.3081, allocations: 25.88 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3081, allocations: 0 / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3081, allocations: 0 / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3081, allocations: 3.984 kB / 0.9591 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3084, allocations: 297.3 kB / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3084, allocations: 0 / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3086, allocations: 35.91 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3086, allocations: 0 / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3086, allocations: 0 / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3086, allocations: 0 / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3086, allocations: 0 / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.309, allocations: 273.8 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3091, allocations: 88.92 kB / 0.9597 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3091, allocations: 11.94 kB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3093, allocations: 11.98 kB / 0.9597 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.3094, allocations: 31.91 kB / 0.9598 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3094, allocations: 15.92 kB / 0.9598 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3095, allocations: 137.5 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3095, allocations: 0 / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002884/0.3098, allocations: 39.84 kB / 0.96 GB, free: 14.57 MB / 0.7481 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.0001582/0.3099, allocations: 116.9 kB / 0.9601 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.3104, allocations: 171.7 kB / 0.9602 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3104, allocations: 0 / 0.9602 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.3106, allocations: 75.89 kB / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3109, allocations: 30.28 kB / 0.9603 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.3116, allocations: 382.5 kB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.312, allocations: 0.7482 MB / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.3121, allocations: 29.94 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.3122, allocations: 27.42 kB / 0.9615 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3122, allocations: 0 / 0.9615 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of Templates: time 0.005304/0.3175, allocations: 1.928 MB / 0.9634 GB, free: 11.08 MB / 0.7481 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 -s gbode -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/jenkins1/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