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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001084/0.001084, allocations: 170.1 kB / 498.1 MB, free: 5.699 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.384/1.384, allocations: 223.1 MB / 0.7948 GB, free: 18.88 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.0008526/0.0008526, allocations: 106.7 kB / 0.9346 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 9.969 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 142.4 MB / 1.223 GB, free: 89.32 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.4681, allocations: 152.2 MB / 1.372 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4685, allocations: 79.94 kB / 1.372 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02828/0.4968, allocations: 11.75 MB / 1.383 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.9e-06/0.4968, allocations: 0 / 1.383 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.32e-05/0.4969, allocations: 19.94 kB / 1.383 GB, free: 5.027 MB / 0.8855 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.001831/0.4987, allocations: 1.033 MB / 1.384 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.4988, allocations: 12.03 kB / 1.384 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.499, allocations: 131 kB / 1.384 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.4991, allocations: 110.7 kB / 1.385 GB, free: 3.684 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.5002, allocations: 0.5686 MB / 1.385 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.5003, allocations: 62 kB / 1.385 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5004, allocations: 80 kB / 1.385 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.5019, allocations: 0.8229 MB / 1.386 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5019, allocations: 0 / 1.386 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.502, allocations: 36 kB / 1.386 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.502, allocations: 20 kB / 1.386 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5033, allocations: 0.6598 MB / 1.387 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.5068, allocations: 2.448 MB / 1.389 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.5082, allocations: 0.6034 MB / 1.39 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.5082, allocations: 13.38 kB / 1.39 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.5089, allocations: 377.8 kB / 1.39 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=52): time 3.066e-06/0.509, allocations: 0 / 1.39 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of matching and sorting (n=52): time 0.00165/0.5106, allocations: 0.749 MB / 1.391 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.5108, allocations: 239.3 kB / 1.391 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.5115, allocations: 0.6012 MB / 1.392 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.5116, allocations: 37.7 kB / 1.392 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.5119, allocations: 368.6 kB / 1.392 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.512, allocations: 169.5 kB / 1.392 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.5121, allocations: 8 kB / 1.392 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5122, allocations: 334 kB / 1.392 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.5127, allocations: 205 kB / 1.393 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.5132, allocations: 326 kB / 1.393 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.5137, allocations: 241 kB / 1.393 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5137, allocations: 4 kB / 1.393 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001162/0.5149, allocations: 0.6032 MB / 1.394 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.5152, allocations: 0.5341 MB / 1.394 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5152, allocations: 11.98 kB / 1.394 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5152, allocations: 0 / 1.394 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.5157, allocations: 123.8 kB / 1.394 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5158, allocations: 4 kB / 1.394 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.5162, allocations: 111.3 kB / 1.395 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.5163, allocations: 16 kB / 1.395 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.5163, allocations: 4 kB / 1.395 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008362/0.5171, allocations: 456.2 kB / 1.395 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5171, allocations: 4 kB / 1.395 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.992e-06/0.5171, allocations: 7.953 kB / 1.395 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.5176, allocations: 107.9 kB / 1.395 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5176, allocations: 4 kB / 1.395 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.5179, allocations: 95.33 kB / 1.395 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.518, allocations: 12 kB / 1.395 GB, free: 8.34 MB / 0.9011 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 () * Number of clocked 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.0003989/0.5184, allocations: 308.3 kB / 1.396 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5185, allocations: 82.97 kB / 1.396 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.5198, allocations: 0.6171 MB / 1.396 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.5198, allocations: 11.95 kB / 1.396 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5198, allocations: 0 / 1.396 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5198, allocations: 3.984 kB / 1.396 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.5222, allocations: 1.678 MB / 1.398 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5222, allocations: 4 kB / 1.398 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.5227, allocations: 124.2 kB / 1.398 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.5227, allocations: 4 kB / 1.398 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.5228, allocations: 16 kB / 1.398 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.5228, allocations: 11.98 kB / 1.398 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.5228, allocations: 4 kB / 1.398 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.5247, allocations: 1.336 MB / 1.399 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.5249, allocations: 176 kB / 1.4 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.525, allocations: 16 kB / 1.4 GB, free: 3.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.5255, allocations: 64.02 kB / 1.4 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5256, allocations: 51.89 kB / 1.4 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.5256, allocations: 16 kB / 1.4 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006003/0.5262, allocations: 487 kB / 1.4 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5262, allocations: 0 / 1.4 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007575/0.527, allocations: 251.1 kB / 1.4 GB, free: 2.836 MB / 0.9011 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 () * Number of clocked 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.5894/1.116, allocations: 2.922 MB / 1.403 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.119, allocations: 0.7599 MB / 1.404 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.119, allocations: 4.688 kB / 1.404 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/1.119, allocations: 289.8 kB / 1.404 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.121, allocations: 238.8 kB / 1.404 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009583/1.131, allocations: 5.062 MB / 1.409 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/1.131, allocations: 0.9582 MB / 1.41 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005488/1.132, allocations: 93.91 kB / 1.41 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/1.132, allocations: 316.2 kB / 1.411 GB, free: 167 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/1.132, allocations: 1.781 kB / 1.411 GB, free: 167 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/1.172, allocations: 14.38 MB / 1.425 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/1.172, allocations: 262.6 kB / 1.425 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.603, allocations: 0 / 1.425 GB, free: 165.8 MB / 0.9011 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat does not exist to compare? outputFormat=mat