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.001632/0.001632, allocations: 102.2 kB / 16.27 MB, free: 6 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.001994/0.001994, allocations: 191 kB / 17.2 MB, free: 5.609 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.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.177/2.177, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 72.06 kB / 0.8133 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2582, allocations: 140.4 MB / 0.9504 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.002564/0.2608, allocations: 1.166 MB / 0.9515 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.262, allocations: 1.003 MB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2622, allocations: 7.938 kB / 0.9525 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2623, allocations: 27.72 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.2624, allocations: 27.67 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.2627, allocations: 107.8 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.2629, allocations: 243.5 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.2632, allocations: 123.6 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2633, allocations: 79.72 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2634, allocations: 99.41 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.2635, allocations: 24 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-05/0.2635, allocations: 24 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.2636, allocations: 51.84 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.2637, allocations: 99.47 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.264, allocations: 323.2 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.264, allocations: 0 / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.264, allocations: 0 / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.264, allocations: 4 kB / 0.9537 GB, free: 5.316 MB / 0.7325 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.0007477/0.2647, allocations: 0.5069 MB / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2648, allocations: 8.031 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.2648, allocations: 24.66 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2653, allocations: 268.3 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2653, allocations: 16.81 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2653, allocations: 20.38 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2657, allocations: 230.2 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2657, allocations: 192 / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2658, allocations: 7.938 kB / 0.9548 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2658, allocations: 4 kB / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.2661, allocations: 161 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.2671, allocations: 0.7071 MB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.2674, allocations: 98.42 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.2675, allocations: 52.77 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2675, allocations: 0 / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2675, allocations: 38.56 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2676, allocations: 0 / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004821/0.268, allocations: 169.5 kB / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2681, allocations: 55.41 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.2683, allocations: 211.2 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2683, allocations: 33.7 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.2684, allocations: 155.9 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.2685, allocations: 35.45 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.2685, allocations: 33.7 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2686, allocations: 330.8 kB / 0.9568 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2688, allocations: 47.97 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2689, allocations: 87.72 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.2692, allocations: 141 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2692, allocations: 0 / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003711/0.2696, allocations: 189.1 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2696, allocations: 11.92 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2696, allocations: 0 / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2697, allocations: 4 kB / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.2698, allocations: 39.92 kB / 0.9573 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2698, allocations: 0 / 0.9573 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.27, allocations: 27.67 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.27, allocations: 8 kB / 0.9573 GB, free: 1.375 MB / 0.7325 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 0.0001019/0.2701, allocations: 133.9 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.2701, allocations: 23.75 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.2705, allocations: 155 kB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2705, allocations: 4 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2705, allocations: 0 / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2705, allocations: 0 / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.2712, allocations: 0.5244 MB / 0.9581 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2713, allocations: 0 / 0.9581 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.2714, allocations: 27.92 kB / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2714, allocations: 0 / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2714, allocations: 4 kB / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2714, allocations: 4.094 kB / 0.9581 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2714, allocations: 4 kB / 0.9581 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2718, allocations: 257.7 kB / 0.9584 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2718, allocations: 104.8 kB / 0.9585 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.2719, allocations: 4 kB / 0.9585 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.272, allocations: 15.97 kB / 0.9585 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.2721, allocations: 15.98 kB / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2721, allocations: 4 kB / 0.9585 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001286/0.2722, allocations: 156.6 kB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2722, allocations: 0 / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002806/0.2725, allocations: 39.84 kB / 0.9587 GB, free: 15.79 MB / 0.7481 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.0001172/0.2727, allocations: 115.2 kB / 0.9588 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.273, allocations: 124 kB / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.273, allocations: 0 / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2731, allocations: 56.34 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2736, allocations: 39.98 kB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.2742, allocations: 356.6 kB / 0.9594 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2745, allocations: 0.7396 MB / 0.9601 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.2745, allocations: 23.38 kB / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2746, allocations: 0 / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of Templates: time 0.003902/0.2785, allocations: 2.206 MB / 0.9623 GB, free: 12.08 MB / 0.7481 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