Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) 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.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_latest_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_latest_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.001593/0.001593, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001755/0.001755, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.707/2.707, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.44 kB / 0.9246 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8053, allocations: 162.2 MB / 1.083 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.00251/0.8078, allocations: 1.028 MB / 1.084 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.8091, allocations: 0.9703 MB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.8092, allocations: 3.312 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.8093, allocations: 23.45 kB / 1.085 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.8094, allocations: 19.36 kB / 1.085 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.8096, allocations: 61.14 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.8098, allocations: 170.6 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.8101, allocations: 91.69 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.8102, allocations: 78.27 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.8104, allocations: 69.25 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.8104, allocations: 20.81 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.141e-05/0.8105, allocations: 16.53 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.8105, allocations: 39.61 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.8106, allocations: 72.77 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.8109, allocations: 211 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8109, allocations: 0 / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.811, allocations: 0 / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.811, allocations: 0 / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007598/0.8117, allocations: 454.9 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8118, allocations: 10.86 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.8119, allocations: 20.84 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.8124, allocations: 252.2 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.8124, allocations: 18.05 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.8124, allocations: 14.31 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.8128, allocations: 155.2 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8128, allocations: 192 / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.8129, allocations: 9.375 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.8129, allocations: 3.875 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.8133, allocations: 119 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.814, allocations: 489.2 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.8144, allocations: 121.6 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.8146, allocations: 52.28 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.8146, allocations: 9.016 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.8146, allocations: 40.56 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.8146, allocations: 0 / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0006025/0.8152, allocations: 173.7 kB / 1.088 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.8153, allocations: 52.88 kB / 1.088 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.8155, allocations: 161.7 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.8155, allocations: 26.55 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.8156, allocations: 115.9 kB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.8156, allocations: 34.45 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.8157, allocations: 41.16 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8159, allocations: 332.4 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.8161, allocations: 48.22 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.8163, allocations: 74.36 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.8166, allocations: 108.8 kB / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8166, allocations: 1.344 kB / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004036/0.817, allocations: 146.7 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.817, allocations: 9.156 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.817, allocations: 1.406 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.8171, allocations: 2.625 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.8173, allocations: 31.75 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.8173, allocations: 2.375 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.8174, allocations: 22.03 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.8174, allocations: 4.047 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001318/0.8175, allocations: 139 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.8176, allocations: 10.06 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.8176, allocations: 15.31 kB / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.8176, allocations: 2.031 kB / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8177, allocations: 0 / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8177, allocations: 1.25 kB / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.818, allocations: 243.3 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.818, allocations: 1.344 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.8181, allocations: 23.42 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8181, allocations: 4 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.8181, allocations: 9.828 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8182, allocations: 1.797 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8182, allocations: 0 / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.8186, allocations: 235.7 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.8187, allocations: 88.44 kB / 1.09 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.8187, allocations: 5.062 kB / 1.09 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8188, allocations: 8.531 kB / 1.09 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.8189, allocations: 20.27 kB / 1.09 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.8189, allocations: 2.344 kB / 1.09 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.126e-05/0.819, allocations: 117.1 kB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.819, allocations: 0 / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002607/0.8193, allocations: 31.03 kB / 1.09 GB, free: 12.73 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001505/0.8194, allocations: 106.4 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.8198, allocations: 115 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8199, allocations: 0 / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.82, allocations: 60.14 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.8204, allocations: 15.58 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.821, allocations: 314.8 kB / 1.09 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.8214, allocations: 0.7139 MB / 1.091 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.8215, allocations: 17.91 kB / 1.091 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.8215, allocations: 0.7188 kB / 1.091 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.004075/0.8256, allocations: 1.698 MB / 1.093 GB, free: 11.49 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches