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.001222/0.001222, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001479/0.001479, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.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.289/2.289, allocations: 390.2 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6166, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001018/0.6176, allocations: 0.6808 MB / 0.9542 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.6185, allocations: 0.9641 MB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.6186, allocations: 1.625 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.6186, allocations: 11.86 kB / 0.9552 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.6187, allocations: 23.02 kB / 0.9552 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.6188, allocations: 42.25 kB / 0.9552 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.6189, allocations: 85.41 kB / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.6191, allocations: 71.83 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.6192, allocations: 47.34 kB / 0.9554 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.6193, allocations: 54.25 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.6193, allocations: 5.031 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.6193, allocations: 3.531 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.6194, allocations: 20.64 kB / 0.9555 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.6194, allocations: 48.39 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.6195, allocations: 152.2 kB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.6195, allocations: 4 kB / 0.9557 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6195, allocations: 0 / 0.9557 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.6195, allocations: 0 / 0.9557 GB, free: 6.324 MB / 0.7169 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.000487/0.62, allocations: 432 kB / 0.9561 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.6201, allocations: 9.25 kB / 0.9561 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.6201, allocations: 20.45 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.6205, allocations: 260.9 kB / 0.9564 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6205, allocations: 13.75 kB / 0.9564 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.6206, allocations: 13.31 kB / 0.9564 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.6209, allocations: 154.2 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.6209, allocations: 0 / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.6209, allocations: 5.438 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6209, allocations: 6.891 kB / 0.9566 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.6212, allocations: 129.1 kB / 0.9567 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.6218, allocations: 470.9 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.6221, allocations: 112 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.6221, allocations: 1.344 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.6221, allocations: 36 kB / 0.9573 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.6221, allocations: 4 kB / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000524/0.6226, allocations: 186.6 kB / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.6227, allocations: 56.47 kB / 0.9575 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.6228, allocations: 152.3 kB / 0.9577 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.6228, allocations: 26.83 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.6228, allocations: 127 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.6229, allocations: 25.12 kB / 0.9579 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.6229, allocations: 0 / 0.9579 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.6229, allocations: 326 kB / 0.9582 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6231, allocations: 50.91 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.6232, allocations: 79.08 kB / 0.9583 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.6234, allocations: 47.31 kB / 0.9583 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6234, allocations: 1.156 kB / 0.9583 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003453/0.6237, allocations: 161.1 kB / 0.9585 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6238, allocations: 5.344 kB / 0.9585 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6238, allocations: 5.062 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6238, allocations: 6.766 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.624, allocations: 28.33 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.624, allocations: 6.125 kB / 0.9585 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.6241, allocations: 21.27 kB / 0.9586 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6241, allocations: 12.66 kB / 0.9586 GB, free: 3.895 MB / 0.7169 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 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.6242, allocations: 127.9 kB / 0.9587 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.6242, allocations: 12.38 kB / 0.9587 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.6243, allocations: 19.2 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6243, allocations: 2.25 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6243, allocations: 7.953 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6243, allocations: 0 / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.6245, allocations: 234.5 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6245, allocations: 0 / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6246, allocations: 20.7 kB / 0.959 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.6246, allocations: 1.969 kB / 0.959 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.6246, allocations: 7.984 kB / 0.959 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6246, allocations: 1.781 kB / 0.959 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6246, allocations: 3.984 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.625, allocations: 243.8 kB / 0.9592 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.625, allocations: 86.7 kB / 0.9593 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.625, allocations: 9.156 kB / 0.9593 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6252, allocations: 12.3 kB / 0.9593 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.6252, allocations: 19.11 kB / 0.9593 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6252, allocations: 7.078 kB / 0.9593 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.6253, allocations: 110 kB / 0.9595 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6253, allocations: 1.5 kB / 0.9595 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000252/0.6256, allocations: 24.59 kB / 0.9595 GB, free: 3.062 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.552e-05/0.6257, allocations: 114.8 kB / 0.9596 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.626, allocations: 115.9 kB / 0.9597 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.626, allocations: 4 kB / 0.9597 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.6262, allocations: 62.39 kB / 0.9598 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.6264, allocations: 13.5 kB / 0.9598 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.6268, allocations: 308.4 kB / 0.9601 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.627, allocations: 0.7242 MB / 0.9608 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.71e-05/0.6271, allocations: 20.67 kB / 0.9608 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.6271, allocations: 14.31 kB / 0.9608 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6271, allocations: 0 / 0.9608 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.003214/0.6303, allocations: 1.029 MB / 0.9618 GB, free: 1.402 MB / 0.7169 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","../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