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_VOut_flow.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_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",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.22/2.22, allocations: 390.3 MB / 405.3 MB, free: 13.3 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.001027/0.001027, allocations: 179.2 kB / 498.1 MB, free: 5.562 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.568/1.568, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.0008561/0.0008559, allocations: 102.5 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 12 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3121, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.504, allocations: 152.2 MB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5043, allocations: 83.88 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.5206, allocations: 6.554 MB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5206, allocations: 0 / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.573e-05/0.5207, allocations: 11.98 kB / 1.378 GB, free: 3.055 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001302/0.522, allocations: 0.6947 MB / 1.379 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5221, allocations: 8.031 kB / 1.379 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.5222, allocations: 82.53 kB / 1.379 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.5224, allocations: 59.31 kB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.523, allocations: 358.2 kB / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.523, allocations: 29 kB / 1.379 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.5231, allocations: 51.98 kB / 1.379 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.5241, allocations: 454.2 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5241, allocations: 0 / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.5242, allocations: 16 kB / 1.38 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5242, allocations: 16 kB / 1.38 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.525, allocations: 355.8 kB / 1.38 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.5272, allocations: 1.382 MB / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.528, allocations: 320 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.528, allocations: 7.938 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.5285, allocations: 210.8 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.5285, allocations: 0 / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.0009249/0.5294, allocations: 414.8 kB / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.5295, allocations: 132.5 kB / 1.383 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.53, allocations: 393.1 kB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.53, allocations: 29.7 kB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5302, allocations: 232.4 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.5303, allocations: 90.81 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.5303, allocations: 4 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5304, allocations: 350.8 kB / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.5307, allocations: 111.9 kB / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.531, allocations: 157.1 kB / 1.384 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.5312, allocations: 124.9 kB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5313, allocations: 3.953 kB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006486/0.5319, allocations: 333 kB / 1.384 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/0.532, allocations: 182 kB / 1.385 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.532, allocations: 3.984 kB / 1.385 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.5321, allocations: 7.938 kB / 1.385 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.5323, allocations: 59.91 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5324, allocations: 0 / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5326, allocations: 59.67 kB / 1.385 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.5327, allocations: 8 kB / 1.385 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5327, allocations: 4 kB / 1.385 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004718/0.5332, allocations: 231.9 kB / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.5332, allocations: 8.031 kB / 1.385 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/0.5332, allocations: 0 / 1.385 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5334, allocations: 51.91 kB / 1.385 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.5334, allocations: 0 / 1.385 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.5337, allocations: 51.58 kB / 1.385 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.5337, allocations: 15.98 kB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,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 (31): * Single equations (assignments): 31 * 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.0002685/0.534, allocations: 241.1 kB / 1.385 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.534, allocations: 43.48 kB / 1.385 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.5347, allocations: 350.3 kB / 1.386 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.5348, allocations: 7.938 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5348, allocations: 0 / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5348, allocations: 0 / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5362, allocations: 0.9552 MB / 1.387 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5362, allocations: 3.938 kB / 1.387 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.5364, allocations: 55.91 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.5364, allocations: 4 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.5365, allocations: 12.23 kB / 1.387 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5365, allocations: 8 kB / 1.387 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5365, allocations: 4 kB / 1.387 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.5375, allocations: 0.7144 MB / 1.387 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5376, allocations: 136.5 kB / 1.387 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.5377, allocations: 11.95 kB / 1.387 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5379, allocations: 36.03 kB / 1.387 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.538, allocations: 23.92 kB / 1.388 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.538, allocations: 15.98 kB / 1.388 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003326/0.5383, allocations: 311.2 kB / 1.388 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5384, allocations: 0 / 1.388 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004824/0.5388, allocations: 135.6 kB / 1.388 GB, free: 8.523 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001533/0.5404, allocations: 1.822 MB / 1.39 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008528/0.5413, allocations: 403.7 kB / 1.39 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5413, allocations: 0 / 1.39 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.5416, allocations: 152.4 kB / 1.39 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.5422, allocations: 121.5 kB / 1.39 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.5463, allocations: 2.562 MB / 1.393 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.5468, allocations: 0.8233 MB / 1.394 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.547, allocations: 55.23 kB / 1.394 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.5473, allocations: 155.4 kB / 1.394 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.5473, allocations: 0 / 1.394 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.5726, allocations: 8.101 MB / 1.402 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/0.5729, allocations: 246.4 kB / 1.402 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.718, allocations: 0 / 1.402 GB, free: 10.14 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.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_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow_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_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.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_VOut_flow_res.mat does not exist to compare? outputFormat=mat