Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.uMin|mod.uMax|mod.uTSup|mod.yOutDamPos|mod.yRetDamPos|modFre.uMin|modFre.uMax|modFre.uTSup|modFre.yOutDamPos|modFre.yRetDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.uMin|mod.uMax|mod.uTSup|mod.yOutDamPos|mod.yRetDamPos|modFre.uMin|modFre.uMax|modFre.uTSup|modFre.yOutDamPos|modFre.yRetDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.0008642, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008284/0.008283, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.665/2.665, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 12.28 kB / 0.816 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9582, allocations: 142.4 MB / 0.9551 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup): time 0.001693/0.96, allocations: 1.047 MB / 0.9562 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.9616, allocations: 1.029 MB / 0.9572 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.9618, allocations: 8.969 kB / 0.9572 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.9618, allocations: 19.78 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.962, allocations: 28.88 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.9623, allocations: 127.7 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.9627, allocations: 327.1 kB / 0.9577 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.963, allocations: 168.3 kB / 0.9578 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.9632, allocations: 86.94 kB / 0.9579 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.9633, allocations: 101.9 kB / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.9633, allocations: 8.812 kB / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.9634, allocations: 9.656 kB / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.9634, allocations: 48.91 kB / 0.9581 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.9636, allocations: 148.4 kB / 0.9582 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.964, allocations: 454.3 kB / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.964, allocations: 0 / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.966e-06/0.964, allocations: 0 / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.964, allocations: 0 / 0.9586 GB, free: 5.031 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.000865/0.9649, allocations: 0.5463 MB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.9649, allocations: 9.656 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/0.965, allocations: 38.66 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.9655, allocations: 328.9 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.9655, allocations: 25.62 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.9656, allocations: 31.69 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.9662, allocations: 289 kB / 0.9599 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9662, allocations: 1.562 kB / 0.9599 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.9663, allocations: 18.69 kB / 0.9599 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.9663, allocations: 8.25 kB / 0.9599 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.9668, allocations: 247.9 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.9681, allocations: 0.8671 MB / 0.961 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.9684, allocations: 141 kB / 0.9611 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.9686, allocations: 68.14 kB / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.9687, allocations: 7.656 kB / 0.9612 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.9687, allocations: 36.5 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.9687, allocations: 0 / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006919/0.9694, allocations: 248.1 kB / 0.9614 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.9695, allocations: 58.06 kB / 0.9615 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.9698, allocations: 284.5 kB / 0.9618 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.9699, allocations: 30.77 kB / 0.9618 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.97, allocations: 192.5 kB / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.97, allocations: 57.48 kB / 0.962 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.9701, allocations: 28.73 kB / 0.9621 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.9702, allocations: 332 kB / 0.9624 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.9703, allocations: 64.97 kB / 0.9624 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.9706, allocations: 125.1 kB / 0.9626 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.971, allocations: 199.9 kB / 0.9628 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.971, allocations: 1.156 kB / 0.9628 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000531/0.9715, allocations: 260.4 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.9715, allocations: 6.25 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.9715, allocations: 1.156 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.9716, allocations: 2.969 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.9718, allocations: 57.22 kB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9718, allocations: 2.406 kB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.972, allocations: 31.59 kB / 0.9631 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.972, allocations: 11.88 kB / 0.9631 GB, free: 1.562 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 27 * 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.0001688/0.9722, allocations: 148.1 kB / 0.9633 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.9723, allocations: 23.97 kB / 0.9633 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.9729, allocations: 241.9 kB / 0.9635 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.9729, allocations: 2.188 kB / 0.9635 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.9729, allocations: 1.312 kB / 0.9635 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.9729, allocations: 7.922 kB / 0.9635 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.9738, allocations: 0.6631 MB / 0.9642 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9738, allocations: 1.406 kB / 0.9642 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.974, allocations: 53.81 kB / 0.9642 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.974, allocations: 1.438 kB / 0.9642 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.974, allocations: 9.75 kB / 0.9642 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.974, allocations: 0 / 0.9642 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.974, allocations: 3.688 kB / 0.9642 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.9744, allocations: 333.5 kB / 0.9646 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.9745, allocations: 112.3 kB / 0.9647 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.9746, allocations: 3.406 kB / 0.9647 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.9747, allocations: 27.52 kB / 0.9647 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.9748, allocations: 23.84 kB / 0.9647 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.9748, allocations: 6.594 kB / 0.9647 GB, free: 288 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000218/0.9751, allocations: 203.5 kB / 0.9649 GB, free: 148 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9751, allocations: 0 / 0.9649 GB, free: 148 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003301/0.9754, allocations: 55.41 kB / 0.965 GB, free: 132 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.000134/0.9755, allocations: 115.4 kB / 0.9651 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.976, allocations: 174 kB / 0.9652 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.976, allocations: 4.062 kB / 0.9652 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.9763, allocations: 89.09 kB / 0.9653 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.9769, allocations: 67.16 kB / 0.9654 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.9779, allocations: 0.5935 MB / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.9783, allocations: 0.7619 MB / 0.9667 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.9785, allocations: 35.19 kB / 0.9668 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.9786, allocations: 37.64 kB / 0.9668 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.9786, allocations: 3.938 kB / 0.9668 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.008303/0.9869, allocations: 2.5 MB / 0.9692 GB, free: 13.46 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches