Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001589/0.00159, allocations: 101.1 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.001551/0.001551, 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.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.27 kB / 0.87 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 151.6 MB / 1.018 GB, free: 10.53 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002797/0.3405, allocations: 1.01 MB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3419, allocations: 0.9674 MB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.342, allocations: 4 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.986e-05/0.3421, allocations: 15.8 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.3422, allocations: 23.8 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3425, allocations: 63.86 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.3427, allocations: 155.6 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3429, allocations: 84.17 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3431, allocations: 71.7 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3432, allocations: 67.69 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.3433, allocations: 16 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/0.3433, allocations: 20 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.3433, allocations: 39.84 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.3434, allocations: 71.59 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3437, allocations: 203.5 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3437, allocations: 0 / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3437, allocations: 0 / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3437, allocations: 0 / 1.021 GB, free: 7.711 MB / 0.795 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.0007571/0.3445, allocations: 443.1 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3446, allocations: 16.92 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3446, allocations: 16.75 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.3451, allocations: 252.2 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3451, allocations: 8.656 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.3452, allocations: 16.38 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.3455, allocations: 141 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3456, allocations: 4.188 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3456, allocations: 7.938 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3456, allocations: 4 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.3459, allocations: 112.8 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.3467, allocations: 480 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.347, allocations: 110.6 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3471, allocations: 48.83 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3472, allocations: 4 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3472, allocations: 34.56 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3472, allocations: 3.938 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005714/0.3478, allocations: 169.4 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.3479, allocations: 55.41 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.348, allocations: 152 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3481, allocations: 33.7 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.3482, allocations: 115.8 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3482, allocations: 35.55 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.3483, allocations: 33.7 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3485, allocations: 322.8 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.3486, allocations: 47.97 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.3488, allocations: 71.39 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.3491, allocations: 107.3 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3491, allocations: 0 / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003797/0.3495, allocations: 145.4 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3495, allocations: 4 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3496, allocations: 0 / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3496, allocations: 4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3498, allocations: 32.06 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.3498, allocations: 4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3499, allocations: 15.83 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3499, allocations: 7.938 kB / 1.024 GB, free: 4.465 MB / 0.795 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.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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.0001352/0.35, allocations: 139.6 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3501, allocations: 7.906 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.3501, allocations: 16.7 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3501, allocations: 8 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3501, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3501, allocations: 4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.3504, allocations: 237.4 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3504, allocations: 0 / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3506, allocations: 23.97 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3506, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3506, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3506, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3506, allocations: 3.938 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.351, allocations: 235.3 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.3511, allocations: 85.02 kB / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3511, allocations: 0 / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3512, allocations: 7.984 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3513, allocations: 23.97 kB / 1.024 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.3514, allocations: 4 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.121e-05/0.3514, allocations: 113.8 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3515, allocations: 0 / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002548/0.3517, allocations: 27.84 kB / 1.025 GB, free: 3.457 MB / 0.795 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 (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.0001752/0.3519, allocations: 111.2 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.3523, allocations: 112.7 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3523, allocations: 0 / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3525, allocations: 47.97 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3528, allocations: 20.38 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.3536, allocations: 302.2 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.354, allocations: 0.7162 MB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.354, allocations: 15.44 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.354, allocations: 0 / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of Templates: time 0.003969/0.358, allocations: 1.642 MB / 1.027 GB, free: 456 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches