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.698/2.698, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001131/0.001132, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.547/1.547, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009652/0.000965, allocations: 95.89 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.648e-05, allocations: 7.984 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2964, allocations: 142.3 MB / 1.213 GB, free: 38.3 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9634/1.26, allocations: 152.1 MB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.26, allocations: 79.75 kB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01569/1.276, allocations: 6.546 MB / 1.368 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.276, allocations: 0 / 1.368 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.303e-05/1.276, allocations: 11.69 kB / 1.368 GB, free: 34.43 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001089/1.277, allocations: 0.6414 MB / 1.368 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.277, allocations: 11.53 kB / 1.368 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/1.277, allocations: 80.83 kB / 1.368 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/1.277, allocations: 54.28 kB / 1.368 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/1.278, allocations: 358.4 kB / 1.369 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/1.278, allocations: 35.59 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/1.278, allocations: 45.12 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/1.279, allocations: 421.6 kB / 1.369 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.279, allocations: 0 / 1.369 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/1.279, allocations: 17.81 kB / 1.369 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/1.279, allocations: 11.69 kB / 1.369 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/1.279, allocations: 291 kB / 1.37 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/1.282, allocations: 1.377 MB / 1.371 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/1.282, allocations: 259.4 kB / 1.371 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/1.282, allocations: 120 kB / 1.371 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/1.283, allocations: 7.188 kB / 1.371 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/1.283, allocations: 175.9 kB / 1.371 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 5.21e-06/1.283, allocations: 0 / 1.371 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0005753/1.283, allocations: 252.5 kB / 1.372 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/1.284, allocations: 132.4 kB / 1.372 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/1.284, allocations: 390 kB / 1.372 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/1.284, allocations: 29.58 kB / 1.372 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/1.284, allocations: 226.8 kB / 1.372 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/1.284, allocations: 86.36 kB / 1.372 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/1.284, allocations: 3.812 kB / 1.372 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.285, allocations: 351.9 kB / 1.373 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.285, allocations: 81.94 kB / 1.373 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/1.285, allocations: 125.1 kB / 1.373 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.285, allocations: 93.08 kB / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.285, allocations: 0 / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004496/1.286, allocations: 275.6 kB / 1.373 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.286, allocations: 190.7 kB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.286, allocations: 0 / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/1.286, allocations: 2.625 kB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/1.286, allocations: 54.94 kB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.286, allocations: 7.938 kB / 1.374 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/1.286, allocations: 65.59 kB / 1.374 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/1.286, allocations: 7.859 kB / 1.374 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.287, allocations: 7.75 kB / 1.374 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000313/1.287, allocations: 193.8 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/1.287, allocations: 0 / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/1.287, allocations: 7.938 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/1.287, allocations: 52.78 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.287, allocations: 0 / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.287, allocations: 59.88 kB / 1.374 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/1.287, allocations: 7.906 kB / 1.374 GB, free: 31.74 MB / 0.8386 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 () * 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.0001318/1.288, allocations: 123.6 kB / 1.374 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/1.288, allocations: 45.67 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/1.288, allocations: 286.1 kB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.288, allocations: 0 / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.288, allocations: 0 / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.288, allocations: 3.812 kB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/1.29, allocations: 0.8811 MB / 1.375 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.29, allocations: 3.906 kB / 1.375 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/1.29, allocations: 63.38 kB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.29, allocations: 7.844 kB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/1.29, allocations: 6.531 kB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/1.29, allocations: 3.844 kB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.29, allocations: 0 / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/1.291, allocations: 0.6333 MB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.291, allocations: 133 kB / 1.376 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/1.291, allocations: 6.438 kB / 1.376 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/1.291, allocations: 39.77 kB / 1.376 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/1.291, allocations: 34.89 kB / 1.376 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/1.291, allocations: 11.72 kB / 1.376 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003795/1.292, allocations: 298.5 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.292, allocations: 3.969 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005883/1.292, allocations: 132.7 kB / 1.377 GB, free: 30.54 MB / 0.8386 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 () * 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.001151/1.294, allocations: 1.727 MB / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005608/1.294, allocations: 342.6 kB / 1.379 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.294, allocations: 0 / 1.379 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/1.294, allocations: 118.3 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/1.295, allocations: 118.6 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.296, allocations: 0.6253 MB / 1.379 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/1.297, allocations: 0.8292 MB / 1.38 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002812/1.297, allocations: 65.7 kB / 1.38 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.297, allocations: 152.8 kB / 1.38 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of SimCode: time 6.82e-07/1.297, allocations: 0 / 1.38 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/1.319, allocations: 8.448 MB / 1.389 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.319, allocations: 214.5 kB / 1.389 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.579, allocations: 1.547 kB / 1.389 GB, free: 25.39 MB / 0.8386 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