Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 92.08 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.001672/0.001672, allocations: 176.6 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.277 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.445/2.445, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004227, allocations: 8 kB / 0.8167 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.836, allocations: 142.4 MB / 0.9558 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001285/0.8374, allocations: 0.8712 MB / 0.9567 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.8385, allocations: 0.9888 MB / 0.9576 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.8386, allocations: 7.594 kB / 0.9577 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.8387, allocations: 13.02 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.8388, allocations: 22.34 kB / 0.9577 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.839, allocations: 94.94 kB / 0.9578 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.8392, allocations: 229.6 kB / 0.958 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.8395, allocations: 108.8 kB / 0.9581 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.8395, allocations: 56.3 kB / 0.9582 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.8396, allocations: 68.17 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.8397, allocations: 6.469 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.332e-05/0.8397, allocations: 6.5 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.8397, allocations: 32.97 kB / 0.9583 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.8398, allocations: 99.72 kB / 0.9584 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.84, allocations: 256 kB / 0.9586 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.84, allocations: 0 / 0.9586 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.84, allocations: 0 / 0.9586 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.84, allocations: 1.188 kB / 0.9586 GB, free: 5.473 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005726/0.8406, allocations: 483 kB / 0.9591 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8407, allocations: 9.156 kB / 0.9591 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.8407, allocations: 25.5 kB / 0.9591 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.8411, allocations: 283.5 kB / 0.9594 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.8411, allocations: 13.03 kB / 0.9594 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.8412, allocations: 24.38 kB / 0.9594 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.8416, allocations: 228.5 kB / 0.9596 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8416, allocations: 4.188 kB / 0.9596 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.8416, allocations: 10.91 kB / 0.9596 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8416, allocations: 4.75 kB / 0.9596 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.842, allocations: 173.7 kB / 0.9598 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009085/0.8429, allocations: 0.7165 MB / 0.9605 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.8432, allocations: 94.27 kB / 0.9606 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.8433, allocations: 54.39 kB / 0.9606 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.8433, allocations: 5.734 kB / 0.9607 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.8434, allocations: 36.56 kB / 0.9607 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.8434, allocations: 0 / 0.9607 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000479/0.8438, allocations: 178.2 kB / 0.9609 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.8439, allocations: 56.78 kB / 0.9609 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.8441, allocations: 218.4 kB / 0.9611 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.8441, allocations: 27.08 kB / 0.9611 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.8442, allocations: 158.8 kB / 0.9613 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.8442, allocations: 36.98 kB / 0.9613 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.8443, allocations: 17.84 kB / 0.9613 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.8443, allocations: 330.9 kB / 0.9617 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.8445, allocations: 55.38 kB / 0.9617 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.8446, allocations: 95.78 kB / 0.9618 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.8449, allocations: 155.8 kB / 0.962 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8449, allocations: 0 / 0.962 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003506/0.8453, allocations: 191.8 kB / 0.9621 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8453, allocations: 9.219 kB / 0.9621 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8453, allocations: 1 kB / 0.9622 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8453, allocations: 2.969 kB / 0.9622 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.8455, allocations: 44.97 kB / 0.9622 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.8455, allocations: 2.281 kB / 0.9622 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.8456, allocations: 21.62 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.8457, allocations: 6 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.908e-05/0.8458, allocations: 134.5 kB / 0.9624 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.8458, allocations: 19.59 kB / 0.9624 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.8462, allocations: 167.8 kB / 0.9625 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.8462, allocations: 5.906 kB / 0.9625 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8462, allocations: 0 / 0.9625 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.8462, allocations: 5.016 kB / 0.9625 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.8469, allocations: 0.5275 MB / 0.9631 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8469, allocations: 0.6875 kB / 0.9631 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.847, allocations: 33.7 kB / 0.9631 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.847, allocations: 1.281 kB / 0.9631 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8471, allocations: 5.625 kB / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8471, allocations: 2 kB / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.8471, allocations: 1.031 kB / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.8474, allocations: 268.7 kB / 0.9634 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.8475, allocations: 90.23 kB / 0.9634 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.8475, allocations: 10.58 kB / 0.9635 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.8477, allocations: 18.75 kB / 0.9635 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.8477, allocations: 12.98 kB / 0.9635 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.8477, allocations: 11.56 kB / 0.9635 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001223/0.8479, allocations: 157.8 kB / 0.9636 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8479, allocations: 0 / 0.9636 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002858/0.8481, allocations: 38.06 kB / 0.9637 GB, free: 1.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001141/0.8483, allocations: 105.9 kB / 0.9638 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.8486, allocations: 125.6 kB / 0.9639 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8486, allocations: 1.375 kB / 0.9639 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.8488, allocations: 58.84 kB / 0.964 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.8492, allocations: 33.23 kB / 0.964 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.8498, allocations: 448.2 kB / 0.9644 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.85, allocations: 0.7299 MB / 0.9651 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.8501, allocations: 19.25 kB / 0.9651 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8501, allocations: 0 / 0.9651 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of Templates: time 0.004287/0.8544, allocations: 2.197 MB / 0.9673 GB, free: 14.85 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches