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.331/2.331, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001073/0.001073, allocations: 184 kB / 492.3 MB, free: 0.6211 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.73/1.73, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.000857/0.0008569, allocations: 95.88 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.254e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2369, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8855/1.122, allocations: 151.1 MB / 1.36 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.123, allocations: 80.19 kB / 1.36 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04275/1.165, allocations: 18.41 MB / 1.378 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.166, allocations: 4 kB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001383/1.166, allocations: 42.72 kB / 1.378 GB, free: 32.04 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003594/1.169, allocations: 1.512 MB / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.169, allocations: 7.719 kB / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006296/1.17, allocations: 234.6 kB / 1.38 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/1.171, allocations: 178.5 kB / 1.38 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.172, allocations: 0.7718 MB / 1.381 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.172, allocations: 127.1 kB / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/1.172, allocations: 154.9 kB / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/1.175, allocations: 1.354 MB / 1.382 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/1.175, allocations: 448 / 1.382 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/1.176, allocations: 67.59 kB / 1.382 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/1.176, allocations: 38.62 kB / 1.383 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/1.178, allocations: 1.215 MB / 1.384 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008573/1.187, allocations: 4.79 MB / 1.388 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/1.189, allocations: 1.031 MB / 1.389 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/1.189, allocations: 472.8 kB / 1.39 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/1.19, allocations: 28.08 kB / 1.39 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.19, allocations: 49.5 kB / 1.39 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 4.328e-06/1.19, allocations: 0 / 1.39 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.001589/1.191, allocations: 0.9012 MB / 1.391 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.191, allocations: 64.09 kB / 1.391 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.193, allocations: 1.048 MB / 1.392 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-05/1.193, allocations: 47.67 kB / 1.392 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/1.194, allocations: 0.6177 MB / 1.393 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.194, allocations: 365.8 kB / 1.393 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/1.194, allocations: 20.72 kB / 1.393 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.194, allocations: 347.3 kB / 1.393 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/1.195, allocations: 362.2 kB / 1.394 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/1.195, allocations: 494.7 kB / 1.394 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/1.196, allocations: 414.1 kB / 1.394 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.196, allocations: 0 / 1.394 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001691/1.198, allocations: 1.094 MB / 1.395 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/1.198, allocations: 279 kB / 1.396 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.198, allocations: 0 / 1.396 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.198, allocations: 3.875 kB / 1.396 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.199, allocations: 289.7 kB / 1.396 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/1.199, allocations: 3.781 kB / 1.396 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.2, allocations: 262.7 kB / 1.396 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/1.2, allocations: 37.83 kB / 1.396 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.2, allocations: 7.797 kB / 1.396 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/1.201, allocations: 0.9284 MB / 1.397 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.201, allocations: 0 / 1.397 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.201, allocations: 3.969 kB / 1.397 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/1.202, allocations: 232.3 kB / 1.397 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.202, allocations: 11.89 kB / 1.397 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/1.203, allocations: 194.9 kB / 1.398 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/1.203, allocations: 39.08 kB / 1.398 GB, free: 25.67 MB / 0.8386 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 () * 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.0002144/1.203, allocations: 162.5 kB / 1.398 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/1.204, allocations: 147.5 kB / 1.398 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/1.205, allocations: 1.144 MB / 1.399 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.205, allocations: 18.86 kB / 1.399 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.205, allocations: 0 / 1.399 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.205, allocations: 3.984 kB / 1.399 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/1.21, allocations: 3.801 MB / 1.403 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.211, allocations: 8 kB / 1.403 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/1.211, allocations: 266.8 kB / 1.403 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/1.211, allocations: 20 kB / 1.403 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/1.212, allocations: 38.48 kB / 1.403 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/1.212, allocations: 19.94 kB / 1.403 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.212, allocations: 19.94 kB / 1.403 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/1.213, allocations: 2.169 MB / 1.405 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/1.214, allocations: 268 kB / 1.406 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.214, allocations: 41.17 kB / 1.406 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009633/1.215, allocations: 159.8 kB / 1.406 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.215, allocations: 116.1 kB / 1.406 GB, free: 20.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/1.215, allocations: 57.17 kB / 1.406 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00107/1.216, allocations: 0.8023 MB / 1.407 GB, free: 20.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.11e-07/1.216, allocations: 4 kB / 1.407 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001179/1.217, allocations: 479.8 kB / 1.407 GB, free: 19.73 MB / 0.8386 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 () * 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.003328/1.221, allocations: 5.932 MB / 1.413 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00227/1.223, allocations: 1.479 MB / 1.414 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.223, allocations: 4.188 kB / 1.414 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/1.224, allocations: 0.5292 MB / 1.415 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/1.225, allocations: 156.1 kB / 1.415 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/1.229, allocations: 2.181 MB / 1.417 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000827/1.23, allocations: 1.189 MB / 1.418 GB, free: 9.129 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001066/1.231, allocations: 238.4 kB / 1.419 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/1.232, allocations: 0.5458 MB / 1.419 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of SimCode: time 1.202e-06/1.232, allocations: 0 / 1.419 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/1.281, allocations: 24.23 MB / 1.443 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/1.281, allocations: 195.3 kB / 1.443 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/4.241, allocations: 0 / 1.443 GB, free: 0.6016 MB / 0.8542 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