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.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.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.001232/0.001233, allocations: 108 kB / 15.61 MB, free: 152 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.001865/0.001865, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.605/2.605, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 64.12 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8662, allocations: 140.4 MB / 0.9497 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.003171/0.8694, allocations: 1.171 MB / 0.9509 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.8709, allocations: 0.9981 MB / 0.9518 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.871, allocations: 7.625 kB / 0.9518 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.8712, allocations: 25.08 kB / 0.9519 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.8713, allocations: 30.75 kB / 0.9519 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.8717, allocations: 99.23 kB / 0.952 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.8721, allocations: 245.1 kB / 0.9522 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.8724, allocations: 123.4 kB / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.8726, allocations: 78.28 kB / 0.9524 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.8727, allocations: 93.12 kB / 0.9525 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.8727, allocations: 28.19 kB / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.383e-05/0.8728, allocations: 28.75 kB / 0.9526 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.8728, allocations: 50.25 kB / 0.9526 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.8729, allocations: 104 kB / 0.9527 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.8732, allocations: 321.5 kB / 0.953 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8732, allocations: 0 / 0.953 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8732, allocations: 0 / 0.953 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8732, allocations: 1.406 kB / 0.953 GB, free: 6.754 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.0006583/0.8739, allocations: 0.5028 MB / 0.9535 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.8739, allocations: 12.75 kB / 0.9535 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.874, allocations: 32.31 kB / 0.9535 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.8743, allocations: 267.2 kB / 0.9538 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.8743, allocations: 20.44 kB / 0.9538 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.8744, allocations: 16.59 kB / 0.9538 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.8748, allocations: 229.2 kB / 0.9541 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.8748, allocations: 192 / 0.9541 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.8748, allocations: 14.78 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.8748, allocations: 4.031 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.8752, allocations: 162.9 kB / 0.9542 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.8761, allocations: 0.7088 MB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.8763, allocations: 93.33 kB / 0.955 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.8764, allocations: 47.69 kB / 0.9551 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.8765, allocations: 2.062 kB / 0.9551 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.8765, allocations: 43.83 kB / 0.9551 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.8765, allocations: 0 / 0.9551 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004697/0.877, allocations: 167.8 kB / 0.9553 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.877, allocations: 53.72 kB / 0.9553 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.8772, allocations: 221.5 kB / 0.9555 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.8772, allocations: 30.86 kB / 0.9556 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.8773, allocations: 155 kB / 0.9557 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.8773, allocations: 36.08 kB / 0.9557 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.8774, allocations: 33.41 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.8775, allocations: 331.5 kB / 0.9561 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.8776, allocations: 44.34 kB / 0.9561 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.8777, allocations: 92 kB / 0.9562 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.878, allocations: 152.5 kB / 0.9564 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.878, allocations: 0 / 0.9564 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003323/0.8784, allocations: 175.9 kB / 0.9565 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8784, allocations: 9.625 kB / 0.9565 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8784, allocations: 5.812 kB / 0.9565 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8784, allocations: 2.25 kB / 0.9565 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.8786, allocations: 31.48 kB / 0.9566 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8786, allocations: 5.422 kB / 0.9566 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.8787, allocations: 28.84 kB / 0.9566 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.8787, allocations: 4.469 kB / 0.9566 GB, free: 3.73 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.657e-05/0.8788, allocations: 130.9 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.8789, allocations: 24.64 kB / 0.9568 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.8792, allocations: 165.1 kB / 0.9569 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8792, allocations: 0 / 0.9569 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8792, allocations: 1.844 kB / 0.9569 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8792, allocations: 3.984 kB / 0.9569 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.8798, allocations: 0.5165 MB / 0.9574 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8798, allocations: 0 / 0.9574 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.88, allocations: 27.23 kB / 0.9574 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.88, allocations: 1.375 kB / 0.9575 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.88, allocations: 2.75 kB / 0.9575 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.88, allocations: 1.375 kB / 0.9575 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.88, allocations: 5.312 kB / 0.9575 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.8803, allocations: 257.1 kB / 0.9577 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.8804, allocations: 98.42 kB / 0.9578 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.8804, allocations: 1.375 kB / 0.9578 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.8805, allocations: 25.59 kB / 0.9578 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.8806, allocations: 4.125 kB / 0.9578 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.8806, allocations: 12.06 kB / 0.9578 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001068/0.8807, allocations: 161.5 kB / 0.958 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8807, allocations: 0 / 0.958 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000261/0.881, allocations: 38.31 kB / 0.958 GB, free: 2.512 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.0001197/0.8811, allocations: 103.3 kB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.8815, allocations: 126.2 kB / 0.9582 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8815, allocations: 0 / 0.9582 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.8816, allocations: 55.84 kB / 0.9583 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.882, allocations: 39.64 kB / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.8826, allocations: 339.3 kB / 0.9587 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.8828, allocations: 0.7328 MB / 0.9594 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.744e-05/0.8829, allocations: 25.25 kB / 0.9594 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.8829, allocations: 19.03 kB / 0.9594 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.8829, allocations: 0.75 kB / 0.9594 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.004751/0.8877, allocations: 1.799 MB / 0.9612 GB, free: 472 kB / 0.7169 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/jenkins/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