Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 101.3 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.001615/0.001615, allocations: 193.9 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.433/1.433, 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.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.7 kB / 0.8141 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.292, allocations: 140.4 MB / 0.9512 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002353/0.2944, allocations: 1.012 MB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2956, allocations: 0.983 MB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.2957, allocations: 4 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.524e-05/0.2957, allocations: 15.8 kB / 0.9531 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.866e-05/0.2959, allocations: 15.75 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.2961, allocations: 63.86 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.2962, allocations: 156.1 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2964, allocations: 94.41 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.2966, allocations: 79.64 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2967, allocations: 67.69 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.2968, allocations: 16 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.2968, allocations: 16 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.2968, allocations: 39.84 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.856e-05/0.2969, allocations: 75.59 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.2971, allocations: 203.2 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2971, allocations: 4 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2971, allocations: 4 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2971, allocations: 0 / 0.9539 GB, free: 5.105 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006087/0.2978, allocations: 447.1 kB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2978, allocations: 8.031 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.2978, allocations: 24.67 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.2982, allocations: 252.2 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2983, allocations: 16.66 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2983, allocations: 12.38 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2986, allocations: 152 kB / 0.9548 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2986, allocations: 0 / 0.9548 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2986, allocations: 7.938 kB / 0.9548 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2986, allocations: 4 kB / 0.9548 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.2989, allocations: 108.8 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.2996, allocations: 472.1 kB / 0.9554 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.2999, allocations: 106.6 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.3, allocations: 52.88 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3001, allocations: 4 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3001, allocations: 34.56 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3001, allocations: 0 / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0004957/0.3006, allocations: 165.4 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3006, allocations: 55.34 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3008, allocations: 161.5 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3008, allocations: 25.7 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.3009, allocations: 124.1 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3009, allocations: 31.55 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.301, allocations: 37.7 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3011, allocations: 326.8 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3012, allocations: 47.89 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3014, allocations: 71.16 kB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3016, allocations: 115.7 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3017, allocations: 0 / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003208/0.302, allocations: 145.4 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.302, allocations: 8 kB / 0.9568 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.302, allocations: 0 / 0.9568 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.302, allocations: 4 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3022, allocations: 35.94 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3022, allocations: 4 kB / 0.9569 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.3023, allocations: 8 kB / 0.9569 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3023, allocations: 11.92 kB / 0.9569 GB, free: 1.852 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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.0001083/0.3025, allocations: 124.9 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3025, allocations: 15.81 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.3025, allocations: 12.72 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3026, allocations: 11.94 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3026, allocations: 3.984 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3026, allocations: 0 / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3028, allocations: 233.5 kB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3028, allocations: 0 / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.303, allocations: 23.97 kB / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.303, allocations: 0 / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.303, allocations: 8 kB / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.303, allocations: 0 / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.303, allocations: 0 / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.3034, allocations: 231.3 kB / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.3034, allocations: 88.86 kB / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3035, allocations: 8 kB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3036, allocations: 7.984 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3036, allocations: 15.98 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.3037, allocations: 0 / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.3037, allocations: 125.1 kB / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3038, allocations: 0 / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002416/0.304, allocations: 19.94 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001375/0.3041, allocations: 107.2 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.3045, allocations: 112 kB / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3045, allocations: 0 / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3046, allocations: 63.89 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3049, allocations: 14.34 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.3055, allocations: 268.5 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3059, allocations: 0.7196 MB / 0.959 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.519e-05/0.3059, allocations: 16.64 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.306, allocations: 15.44 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of SimCode: time 1.9e-07/0.306, allocations: 0 / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.004004/0.31, allocations: 1.228 MB / 0.9602 GB, free: 14.3 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches