Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 173 kB / 16.92 MB, free: 6.652 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.32 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.597/2.597, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 15.98 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8027, allocations: 142.4 MB / 0.9558 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001399/0.8042, allocations: 0.699 MB / 0.9564 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.8056, allocations: 0.9669 MB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.8058, allocations: 2.688 kB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.8059, allocations: 11.86 kB / 0.9574 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.806, allocations: 9.969 kB / 0.9574 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.8063, allocations: 60.69 kB / 0.9575 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.8065, allocations: 142.7 kB / 0.9576 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.8067, allocations: 81.77 kB / 0.9577 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.8069, allocations: 48.5 kB / 0.9577 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8071, allocations: 57.39 kB / 0.9578 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.8071, allocations: 4.25 kB / 0.9578 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.8071, allocations: 3.875 kB / 0.9578 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.8072, allocations: 20.47 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.8072, allocations: 77.44 kB / 0.9579 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.8074, allocations: 147.7 kB / 0.958 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8074, allocations: 0 / 0.958 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8074, allocations: 4 kB / 0.958 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.8075, allocations: 0 / 0.958 GB, free: 5.988 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.000657/0.8081, allocations: 434.6 kB / 0.9584 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.8082, allocations: 8.531 kB / 0.9584 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.8082, allocations: 16.22 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.8087, allocations: 265.3 kB / 0.9587 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.8087, allocations: 15.56 kB / 0.9587 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.8088, allocations: 12.12 kB / 0.9587 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.8091, allocations: 156.7 kB / 0.9589 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8092, allocations: 0 / 0.9589 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.8092, allocations: 4 kB / 0.9589 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.8092, allocations: 3.719 kB / 0.9589 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.8096, allocations: 129 kB / 0.959 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.8103, allocations: 469.2 kB / 0.9595 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.8106, allocations: 116.1 kB / 0.9596 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.8107, allocations: 55.77 kB / 0.9596 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.8108, allocations: 9.219 kB / 0.9596 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.8108, allocations: 35.81 kB / 0.9597 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.8108, allocations: 0 / 0.9597 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006069/0.8114, allocations: 191.7 kB / 0.9599 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.8114, allocations: 52.91 kB / 0.9599 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.8116, allocations: 153.2 kB / 0.9601 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.8116, allocations: 26.89 kB / 0.9601 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.8117, allocations: 123 kB / 0.9602 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.8117, allocations: 28.25 kB / 0.9602 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.8117, allocations: 32.02 kB / 0.9603 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.8118, allocations: 326.2 kB / 0.9606 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.812, allocations: 44.22 kB / 0.9606 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.8121, allocations: 81.67 kB / 0.9607 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.8124, allocations: 124.6 kB / 0.9608 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8125, allocations: 1.125 kB / 0.9608 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003975/0.8129, allocations: 166 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8129, allocations: 5.5 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8129, allocations: 1.375 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8129, allocations: 1.375 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.8131, allocations: 25.98 kB / 0.961 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8131, allocations: 1.375 kB / 0.961 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.8132, allocations: 29.55 kB / 0.961 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.8133, allocations: 8.062 kB / 0.961 GB, free: 3.449 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 (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 9.726e-05/0.8134, allocations: 131.6 kB / 0.9612 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.8134, allocations: 9.406 kB / 0.9612 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.8134, allocations: 18.08 kB / 0.9612 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8134, allocations: 1.375 kB / 0.9612 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8135, allocations: 1.375 kB / 0.9612 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8135, allocations: 0 / 0.9612 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.8137, allocations: 241 kB / 0.9614 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8137, allocations: 0 / 0.9614 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.8138, allocations: 21.86 kB / 0.9614 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8138, allocations: 0 / 0.9614 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.8138, allocations: 9.359 kB / 0.9615 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8138, allocations: 1.375 kB / 0.9615 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8139, allocations: 4 kB / 0.9615 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.8142, allocations: 244 kB / 0.9617 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.8143, allocations: 83.77 kB / 0.9618 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.8143, allocations: 5.375 kB / 0.9618 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.8144, allocations: 16.23 kB / 0.9618 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.8145, allocations: 14.86 kB / 0.9618 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.8145, allocations: 1.375 kB / 0.9618 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.064e-05/0.8146, allocations: 117.4 kB / 0.9619 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8146, allocations: 0 / 0.9619 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002758/0.8149, allocations: 29.56 kB / 0.9619 GB, free: 2.617 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 (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.0001282/0.815, allocations: 106 kB / 0.962 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.8154, allocations: 120.5 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8154, allocations: 3.938 kB / 0.9622 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.8156, allocations: 66.95 kB / 0.9622 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.8159, allocations: 18.31 kB / 0.9622 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.8165, allocations: 337.8 kB / 0.9626 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.8167, allocations: 0.7147 MB / 0.9633 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.8168, allocations: 24.27 kB / 0.9633 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8168, allocations: 0 / 0.9633 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.004292/0.8211, allocations: 1.618 MB / 0.9649 GB, free: 0.5977 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches