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.Limits_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_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_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.337/2.337, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001207/0.001207, allocations: 169.2 kB / 498.1 MB, free: 5.711 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.58/1.58, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009097/0.0009097, allocations: 104.2 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2974, allocations: 142.3 MB / 1.223 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.4921, allocations: 152.6 MB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.4925, allocations: 79.94 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04655/0.539, allocations: 18.55 MB / 1.39 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5391, allocations: 0 / 1.39 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.223e-05/0.5392, allocations: 28 kB / 1.39 GB, free: 6.512 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002441/0.5416, allocations: 1.443 MB / 1.392 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5417, allocations: 16.02 kB / 1.392 GB, free: 5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.5419, allocations: 190.2 kB / 1.392 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.5421, allocations: 162.1 kB / 1.392 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5435, allocations: 0.8054 MB / 1.393 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.5436, allocations: 94.59 kB / 1.393 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.5437, allocations: 132 kB / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.5459, allocations: 1.291 MB / 1.394 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.546, allocations: 0 / 1.394 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.5461, allocations: 52 kB / 1.394 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.5461, allocations: 36 kB / 1.394 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5481, allocations: 1.038 MB / 1.395 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00552/0.5537, allocations: 3.809 MB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5555, allocations: 0.9252 MB / 1.4 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.5556, allocations: 15.98 kB / 1.4 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009789/0.5566, allocations: 0.5326 MB / 1.401 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=81): time 3.156e-06/0.5566, allocations: 4 kB / 1.401 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81): time 0.002328/0.5589, allocations: 1.156 MB / 1.402 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.5591, allocations: 350.1 kB / 1.402 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5602, allocations: 0.9126 MB / 1.403 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.5603, allocations: 41.7 kB / 1.403 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.5607, allocations: 0.5633 MB / 1.404 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.5609, allocations: 264.1 kB / 1.404 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.5609, allocations: 12 kB / 1.404 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5611, allocations: 341.9 kB / 1.404 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.5618, allocations: 329.8 kB / 1.404 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.5626, allocations: 0.4964 MB / 1.405 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.5633, allocations: 361.1 kB / 1.405 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5633, allocations: 0 / 1.405 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001775/0.5651, allocations: 0.9257 MB / 1.406 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.5654, allocations: 0.8015 MB / 1.407 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5654, allocations: 4 kB / 1.407 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5654, allocations: 4 kB / 1.407 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.5662, allocations: 187.7 kB / 1.407 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5662, allocations: 4 kB / 1.407 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.5669, allocations: 182.8 kB / 1.407 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.5669, allocations: 32 kB / 1.407 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.567, allocations: 4 kB / 1.407 GB, free: 4.512 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/0.5682, allocations: 0.6993 MB / 1.408 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.5682, allocations: 4.188 kB / 1.408 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.5682, allocations: 12 kB / 1.408 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.5689, allocations: 163.7 kB / 1.408 GB, free: 3.637 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5689, allocations: 4 kB / 1.408 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.5695, allocations: 158.8 kB / 1.408 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.5695, allocations: 28 kB / 1.408 GB, free: 3.449 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0005105/0.57, allocations: 364.7 kB / 1.409 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5702, allocations: 114.5 kB / 1.409 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.572, allocations: 0.9373 MB / 1.41 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.572, allocations: 8 kB / 1.41 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.572, allocations: 0 / 1.41 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.572, allocations: 11.94 kB / 1.41 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/0.5757, allocations: 2.645 MB / 1.412 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.5757, allocations: 8 kB / 1.412 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/0.5764, allocations: 184.2 kB / 1.413 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.5764, allocations: 8 kB / 1.413 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.5765, allocations: 24 kB / 1.413 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/0.5765, allocations: 23.88 kB / 1.413 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5765, allocations: 4 kB / 1.413 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.5794, allocations: 2.099 MB / 1.415 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.5796, allocations: 231.4 kB / 1.415 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.5798, allocations: 31.92 kB / 1.415 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.5804, allocations: 99.92 kB / 1.415 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5806, allocations: 79.84 kB / 1.415 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.5806, allocations: 35.97 kB / 1.415 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000949/0.5816, allocations: 0.7035 MB / 1.416 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5816, allocations: 0 / 1.416 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001061/0.5827, allocations: 394.7 kB / 1.416 GB, free: 11.08 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 87 * 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.003589/0.5863, allocations: 4.448 MB / 1.421 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.5886, allocations: 1.189 MB / 1.422 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5886, allocations: 4 kB / 1.422 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.5895, allocations: 462.7 kB / 1.422 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.5909, allocations: 364.7 kB / 1.422 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5463/1.137, allocations: 8.107 MB / 1.43 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/1.138, allocations: 1.12 MB / 1.431 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000819/1.139, allocations: 144.7 kB / 1.432 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/1.14, allocations: 0.4963 MB / 1.432 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.112e-06/1.14, allocations: 0 / 1.432 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/1.203, allocations: 22.18 MB / 1.454 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/1.203, allocations: 248.6 kB / 1.454 GB, free: 184 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.95, allocations: 5.562 kB / 1.454 GB, free: 184 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable_res.mat does not exist to compare? outputFormat=mat