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.Limits.Validation.Common_LoopDisable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fanSta.y|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y|opeMod1.y|VOutMinSet1_flow.y|VOut1_flow.y|damLim1.yOutDam_min|damLim1.yOutDam_max|damLim1.yRetDam_min|damLim1.yRetDam_max|damLim1.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fanSta.y|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y|opeMod1.y|VOutMinSet1_flow.y|VOut1_flow.y|damLim1.yOutDam_min|damLim1.yOutDam_max|damLim1.yRetDam_min|damLim1.yRetDam_max|damLim1.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 180 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 0.7872 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 100.5 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.87e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2836, allocations: 142.3 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9442/1.228, allocations: 152.2 MB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.228, allocations: 85 kB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02526/1.253, allocations: 11.73 MB / 1.373 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/1.254, allocations: 0 / 1.373 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.424e-05/1.254, allocations: 23.25 kB / 1.373 GB, free: 34.05 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.00127/1.255, allocations: 0.9162 MB / 1.374 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.255, allocations: 11.72 kB / 1.374 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/1.255, allocations: 101.2 kB / 1.374 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/1.256, allocations: 0.5793 MB / 1.374 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/1.256, allocations: 63.95 kB / 1.374 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/1.256, allocations: 77.03 kB / 1.374 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.257, allocations: 0.7603 MB / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.257, allocations: 0 / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/1.257, allocations: 32.81 kB / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.257, allocations: 19.16 kB / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/1.258, allocations: 0.532 MB / 1.376 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/1.261, allocations: 2.445 MB / 1.378 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/1.261, allocations: 0.4973 MB / 1.379 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/1.262, allocations: 236.7 kB / 1.379 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/1.262, allocations: 15.62 kB / 1.379 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/1.262, allocations: 306.6 kB / 1.379 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/1.262, allocations: 0 / 1.379 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0006437/1.263, allocations: 448.4 kB / 1.38 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/1.263, allocations: 243.2 kB / 1.38 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/1.264, allocations: 0.5931 MB / 1.38 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/1.264, allocations: 36.23 kB / 1.38 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/1.264, allocations: 366 kB / 1.381 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/1.264, allocations: 176.8 kB / 1.381 GB, free: 31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/1.264, allocations: 10.78 kB / 1.381 GB, free: 31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/1.264, allocations: 321.2 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/1.264, allocations: 145.6 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/1.265, allocations: 267.9 kB / 1.382 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/1.265, allocations: 168 kB / 1.382 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.265, allocations: 0 / 1.382 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006049/1.265, allocations: 0.4902 MB / 1.382 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/1.266, allocations: 0.5305 MB / 1.383 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.266, allocations: 4 kB / 1.383 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.266, allocations: 3.844 kB / 1.383 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/1.266, allocations: 115.4 kB / 1.383 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.266, allocations: 3.875 kB / 1.383 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.267, allocations: 110.8 kB / 1.383 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/1.267, allocations: 14.48 kB / 1.383 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/1.267, allocations: 7.844 kB / 1.383 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004887/1.267, allocations: 400.2 kB / 1.383 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/1.267, allocations: 0 / 1.383 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/1.267, allocations: 3.625 kB / 1.383 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/1.268, allocations: 102.9 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.268, allocations: 11.73 kB / 1.383 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/1.268, allocations: 97.45 kB / 1.384 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/1.268, allocations: 14.88 kB / 1.384 GB, free: 29.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,damLim1.yEnaMinOut,damLim1.and3.u2,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/1.268, allocations: 132.4 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/1.268, allocations: 73.81 kB / 1.384 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/1.269, allocations: 0.4981 MB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.269, allocations: 3.875 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.269, allocations: 7.891 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.269, allocations: 3.984 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/1.27, allocations: 1.56 MB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.27, allocations: 7.844 kB / 1.386 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/1.271, allocations: 116.1 kB / 1.386 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.271, allocations: 7.688 kB / 1.386 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/1.271, allocations: 19.02 kB / 1.386 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.271, allocations: 7.812 kB / 1.386 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.271, allocations: 7.781 kB / 1.386 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.272, allocations: 1.153 MB / 1.387 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.272, allocations: 174.5 kB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/1.272, allocations: 22.86 kB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/1.273, allocations: 61.2 kB / 1.387 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/1.273, allocations: 46.19 kB / 1.387 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/1.273, allocations: 30.67 kB / 1.387 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000477/1.273, allocations: 471.5 kB / 1.388 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.273, allocations: 4 kB / 1.388 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006389/1.274, allocations: 246.7 kB / 1.388 GB, free: 27.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,damLim.yEnaMinOut,damLim1.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/1.274, allocations: 133.2 kB / 1.388 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008223/1.275, allocations: 0.6206 MB / 1.389 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.275, allocations: 3.938 kB / 1.389 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/1.275, allocations: 238.9 kB / 1.389 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/1.276, allocations: 231.2 kB / 1.389 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/1.278, allocations: 1.01 MB / 1.39 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/1.278, allocations: 0.958 MB / 1.391 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00047/1.279, allocations: 115.4 kB / 1.391 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.279, allocations: 49.98 kB / 1.391 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.279, allocations: 0 / 1.391 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.01248/1.291, allocations: 8.402 MB / 1.4 GB, free: 21.9 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches