Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.278/2.278, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001081/0.001081, allocations: 169.2 kB / 498.1 MB, free: 5.742 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.602/1.602, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0008391/0.0008393, allocations: 90.56 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.000395, allocations: 14.22 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4734, allocations: 151.1 MB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4737, allocations: 79.94 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04761/0.5213, allocations: 18.43 MB / 1.389 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.397e-06/0.5213, allocations: 192 / 1.389 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001332/0.5215, allocations: 39.98 kB / 1.389 GB, free: 8.172 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004117/0.5256, allocations: 1.62 MB / 1.39 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5257, allocations: 16.03 kB / 1.39 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000562/0.5262, allocations: 232.5 kB / 1.391 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.5268, allocations: 181.8 kB / 1.391 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.5282, allocations: 0.7862 MB / 1.391 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.5283, allocations: 123.3 kB / 1.392 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.5286, allocations: 159.9 kB / 1.392 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.5319, allocations: 1.476 MB / 1.393 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.5319, allocations: 0 / 1.393 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5321, allocations: 72 kB / 1.393 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.5321, allocations: 40 kB / 1.393 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.5352, allocations: 1.461 MB / 1.395 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/0.5449, allocations: 4.785 MB / 1.399 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.5477, allocations: 1.19 MB / 1.401 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.5478, allocations: 28.92 kB / 1.401 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.5479, allocations: 55.75 kB / 1.401 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.008e-06/0.5479, allocations: 0 / 1.401 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.003201/0.5511, allocations: 1.436 MB / 1.402 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.5512, allocations: 64.41 kB / 1.402 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.5528, allocations: 1.098 MB / 1.403 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.5529, allocations: 49.7 kB / 1.403 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.5534, allocations: 0.6142 MB / 1.404 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.5537, allocations: 370.5 kB / 1.404 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.5538, allocations: 24 kB / 1.404 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5539, allocations: 349.9 kB / 1.405 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009357/0.5548, allocations: 478.4 kB / 1.405 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5559, allocations: 0.5956 MB / 1.406 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5569, allocations: 0.5296 MB / 1.406 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5569, allocations: 0 / 1.406 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002526/0.5594, allocations: 1.327 MB / 1.407 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.5596, allocations: 275.8 kB / 1.408 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5596, allocations: 4 kB / 1.408 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.5596, allocations: 4 kB / 1.408 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.5607, allocations: 283.7 kB / 1.408 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.5608, allocations: 11.98 kB / 1.408 GB, free: 4.168 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.5618, allocations: 258 kB / 1.408 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.5618, allocations: 39.97 kB / 1.408 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5619, allocations: 8.734 kB / 1.408 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001682/0.5635, allocations: 1.011 MB / 1.409 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.5636, allocations: 3.938 kB / 1.409 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.5636, allocations: 4 kB / 1.409 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.5644, allocations: 231.7 kB / 1.409 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5645, allocations: 8 kB / 1.409 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.5652, allocations: 198.3 kB / 1.41 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.5653, allocations: 35.98 kB / 1.41 GB, free: 2.383 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * 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.0005757/0.5659, allocations: 361.6 kB / 1.41 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.566, allocations: 146.3 kB / 1.41 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.5683, allocations: 1.304 MB / 1.411 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5684, allocations: 12 kB / 1.411 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5684, allocations: 0 / 1.411 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5684, allocations: 11.97 kB / 1.411 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005886/0.5743, allocations: 3.952 MB / 1.415 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.5743, allocations: 12 kB / 1.415 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.5752, allocations: 259.8 kB / 1.416 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.136e-05/0.5753, allocations: 20 kB / 1.416 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.5753, allocations: 36 kB / 1.416 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-05/0.5754, allocations: 27.86 kB / 1.416 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.5754, allocations: 15.94 kB / 1.416 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.578, allocations: 2.318 MB / 1.418 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.5784, allocations: 278.9 kB / 1.418 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.5785, allocations: 39.92 kB / 1.418 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.5794, allocations: 159.9 kB / 1.418 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.5795, allocations: 116.3 kB / 1.418 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.5796, allocations: 56 kB / 1.419 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001159/0.5808, allocations: 0.8553 MB / 1.419 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5808, allocations: 0 / 1.419 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00121/0.582, allocations: 482.7 kB / 1.42 GB, free: 7.387 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 128 * 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.003997/0.586, allocations: 6.107 MB / 1.426 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.5156/1.102, allocations: 1.662 MB / 1.427 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-05/1.102, allocations: 2.156 kB / 1.427 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/1.103, allocations: 0.6003 MB / 1.428 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.105, allocations: 167 kB / 1.428 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.121, allocations: 8.66 MB / 1.437 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.122, allocations: 1.186 MB / 1.438 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009162/1.123, allocations: 199.2 kB / 1.438 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008622/1.124, allocations: 0.5649 MB / 1.439 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.553e-06/1.124, allocations: 0 / 1.439 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07313/1.197, allocations: 23.07 MB / 1.461 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/1.198, allocations: 226.4 kB / 1.461 GB, free: 182 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/4.037, allocations: 0 / 1.461 GB, free: 182 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat