Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009872, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009304/0.0009304, allocations: 168.7 kB / 15.95 MB, free: 204 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.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.422 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.669/2.669, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8202, allocations: 142.4 MB / 0.9545 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001501/0.8218, allocations: 0.6676 MB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.8233, allocations: 0.9618 MB / 0.9561 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.8234, allocations: 5.25 kB / 0.9561 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.8235, allocations: 3.938 kB / 0.9561 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.8236, allocations: 18.72 kB / 0.9561 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.8239, allocations: 36.53 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.8241, allocations: 143.7 kB / 0.9563 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.8244, allocations: 62.17 kB / 0.9563 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.8246, allocations: 48.84 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.8247, allocations: 56.94 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.8248, allocations: 4.719 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.8248, allocations: 4.094 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.8249, allocations: 20.2 kB / 0.9565 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.8249, allocations: 48.52 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.8251, allocations: 147.5 kB / 0.9567 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.8251, allocations: 0 / 0.9567 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8252, allocations: 4 kB / 0.9567 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8252, allocations: 1.125 kB / 0.9567 GB, free: 6.027 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006866/0.8259, allocations: 427.2 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8259, allocations: 9.156 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.826, allocations: 19.8 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.8264, allocations: 258.2 kB / 0.9573 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.8264, allocations: 17.69 kB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.8265, allocations: 13.41 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.8268, allocations: 145.2 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.8268, allocations: 7.938 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.8268, allocations: 10.55 kB / 0.9575 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.8268, allocations: 2.625 kB / 0.9575 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.8272, allocations: 128.3 kB / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.8278, allocations: 468.9 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.828, allocations: 115.9 kB / 0.9582 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.8282, allocations: 54.77 kB / 0.9583 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.8282, allocations: 5.438 kB / 0.9583 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8283, allocations: 31.66 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.8283, allocations: 0 / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006776/0.8289, allocations: 195.8 kB / 0.9585 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.829, allocations: 51.41 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.8292, allocations: 158.6 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.8292, allocations: 25.7 kB / 0.9587 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.8293, allocations: 118.9 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.8294, allocations: 36.92 kB / 0.9589 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.8294, allocations: 0 / 0.9589 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8295, allocations: 322.4 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.8296, allocations: 46.23 kB / 0.9592 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.8298, allocations: 77.53 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.83, allocations: 49.22 kB / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.83, allocations: 3.938 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003848/0.8304, allocations: 162.4 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.8304, allocations: 5.5 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8304, allocations: 0 / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8305, allocations: 10.8 kB / 0.9595 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.8306, allocations: 28.59 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.8307, allocations: 5.312 kB / 0.9595 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.8308, allocations: 25.45 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.8308, allocations: 4.125 kB / 0.9596 GB, free: 3.574 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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 0.0001431/0.8309, allocations: 130 kB / 0.9597 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.831, allocations: 9.406 kB / 0.9597 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.831, allocations: 15.47 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.831, allocations: 9.312 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.8311, allocations: 0 / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8311, allocations: 0 / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.8313, allocations: 230.5 kB / 0.9599 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8313, allocations: 0 / 0.9599 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.8314, allocations: 32.34 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8315, allocations: 5.375 kB / 0.96 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.8315, allocations: 4 kB / 0.96 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8315, allocations: 1.375 kB / 0.96 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8315, allocations: 3.953 kB / 0.96 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.8318, allocations: 232.1 kB / 0.9602 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.8319, allocations: 87.67 kB / 0.9603 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.8319, allocations: 5.375 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.832, allocations: 12.23 kB / 0.9603 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.8321, allocations: 17.47 kB / 0.9603 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.8321, allocations: 6.703 kB / 0.9603 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.634e-05/0.8322, allocations: 114.2 kB / 0.9604 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8322, allocations: 0 / 0.9604 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000257/0.8325, allocations: 24.69 kB / 0.9605 GB, free: 2.75 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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 0.0001985/0.8327, allocations: 117.3 kB / 0.9606 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.8332, allocations: 119.5 kB / 0.9607 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8332, allocations: 1.094 kB / 0.9607 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.8334, allocations: 54.31 kB / 0.9607 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.8338, allocations: 21.27 kB / 0.9608 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.8344, allocations: 307.9 kB / 0.9611 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.8346, allocations: 0.7111 MB / 0.9618 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000104/0.8347, allocations: 20.56 kB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.8348, allocations: 19.02 kB / 0.9618 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8348, allocations: 0 / 0.9618 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of Templates: time 0.004075/0.8389, allocations: 1.048 MB / 0.9628 GB, free: 1.082 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches