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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001264/0.001264, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001595/0.001595, allocations: 187 kB / 17.34 MB, free: 5.762 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.694/2.694, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001483, allocations: 59.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9185/0.92, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.0032/0.9232, allocations: 1.01 MB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.9249, allocations: 0.9658 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.925, allocations: 6.094 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.859e-05/0.9251, allocations: 18.52 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.9252, allocations: 24.97 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.9255, allocations: 60.16 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.9257, allocations: 160.2 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.926, allocations: 91.39 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.9262, allocations: 65.2 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.9263, allocations: 80.03 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.9264, allocations: 16.44 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-05/0.9264, allocations: 16.84 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.9265, allocations: 34.61 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.9266, allocations: 72.02 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.927, allocations: 215.3 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.927, allocations: 0.6562 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.178e-06/0.927, allocations: 0.875 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.927, allocations: 0.6562 kB / 1.091 GB, free: 3.691 MB / 0.8575 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.0008162/0.9279, allocations: 447.3 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.9279, allocations: 9.859 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.928, allocations: 15.91 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.9285, allocations: 259.7 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.9286, allocations: 15.72 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.9286, allocations: 16.52 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.929, allocations: 144.6 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.9291, allocations: 0 / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.9291, allocations: 5.781 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.9291, allocations: 3.812 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.9295, allocations: 123.5 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.9304, allocations: 473 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.9307, allocations: 100.5 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.9309, allocations: 53.47 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.931, allocations: 1.625 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.931, allocations: 32.86 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.931, allocations: 0 / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006387/0.9317, allocations: 181.1 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.9317, allocations: 52.84 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.9319, allocations: 150.6 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.9319, allocations: 30.45 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.932, allocations: 125.2 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.9321, allocations: 29.97 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.9321, allocations: 38.22 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.9322, allocations: 325.6 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.9324, allocations: 47.17 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.9326, allocations: 71.83 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.933, allocations: 111.2 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.933, allocations: 0.75 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004176/0.9334, allocations: 143.1 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.9335, allocations: 6.5 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9335, allocations: 5.703 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.9335, allocations: 1.125 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.9337, allocations: 28.5 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.9337, allocations: 1.625 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.9338, allocations: 18.53 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.9339, allocations: 8.219 kB / 1.094 GB, free: 1.445 MB / 0.8575 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.0001216/0.934, allocations: 133.5 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.934, allocations: 12.72 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.9341, allocations: 16.47 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9341, allocations: 2.25 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.9341, allocations: 0 / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9341, allocations: 0.7969 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.9345, allocations: 228.9 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9345, allocations: 7.875 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.9346, allocations: 24.7 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9346, allocations: 1.031 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.9346, allocations: 5.25 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.9347, allocations: 5.125 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9347, allocations: 0 / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.9351, allocations: 232.6 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.9351, allocations: 89.86 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.9352, allocations: 0.5 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.9353, allocations: 12.41 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.9354, allocations: 20.19 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.9354, allocations: 2.734 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.012e-05/0.9355, allocations: 111.1 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.453e-06/0.9355, allocations: 0 / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003079/0.9358, allocations: 33.53 kB / 1.095 GB, free: 0.6719 MB / 0.8575 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.0002037/0.936, allocations: 103.2 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.9366, allocations: 113.9 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9366, allocations: 0 / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.9368, allocations: 54.83 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.9373, allocations: 18.55 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.9381, allocations: 292.2 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.9385, allocations: 0.7102 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.9386, allocations: 22.25 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9386, allocations: 0 / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.006477/0.9451, allocations: 1.647 MB / 1.098 GB, free: 15.45 MB / 0.8731 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 -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