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_T.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_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.24/2.24, 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.001091/0.001091, allocations: 185 kB / 498.1 MB, free: 5.727 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.481/1.481, allocations: 223.1 MB / 0.7948 GB, free: 18.86 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.0009234/0.0009233, allocations: 104.2 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 12.16 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 142.4 MB / 1.223 GB, free: 89.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.4841, allocations: 151.1 MB / 1.371 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4844, allocations: 75.94 kB / 1.371 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.5017, allocations: 6.723 MB / 1.377 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5018, allocations: 4 kB / 1.377 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.654e-05/0.5018, allocations: 16 kB / 1.377 GB, free: 11.29 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001474/0.5033, allocations: 0.7639 MB / 1.378 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5034, allocations: 12.03 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.5036, allocations: 102.5 kB / 1.378 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.5038, allocations: 63.25 kB / 1.378 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.5044, allocations: 385.9 kB / 1.378 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.5044, allocations: 45.31 kB / 1.379 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.5045, allocations: 56 kB / 1.379 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5056, allocations: 0.5375 MB / 1.379 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5057, allocations: 0 / 1.379 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.5057, allocations: 20 kB / 1.379 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.5057, allocations: 16 kB / 1.379 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5068, allocations: 0.5088 MB / 1.38 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.5098, allocations: 1.652 MB / 1.381 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.511, allocations: 480.8 kB / 1.382 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.511, allocations: 7.984 kB / 1.382 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5111, allocations: 46.5 kB / 1.382 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/0.5111, allocations: 0 / 1.382 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001128/0.5122, allocations: 0.5175 MB / 1.382 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.5123, allocations: 55.41 kB / 1.382 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.5128, allocations: 477.4 kB / 1.383 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.5129, allocations: 33.7 kB / 1.383 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.5131, allocations: 256.1 kB / 1.383 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.5132, allocations: 130.1 kB / 1.383 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.5132, allocations: 8 kB / 1.383 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5134, allocations: 358.8 kB / 1.384 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.5138, allocations: 168.8 kB / 1.384 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.5142, allocations: 227.6 kB / 1.384 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.5146, allocations: 177.9 kB / 1.384 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5146, allocations: 4.031 kB / 1.384 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000915/0.5155, allocations: 499.5 kB / 1.385 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.5157, allocations: 184.3 kB / 1.385 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5157, allocations: 0 / 1.385 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5157, allocations: 8 kB / 1.385 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.5161, allocations: 99.88 kB / 1.385 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5161, allocations: 0 / 1.385 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5165, allocations: 91.28 kB / 1.385 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.5166, allocations: 31.92 kB / 1.385 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5166, allocations: 7.938 kB / 1.385 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006483/0.5172, allocations: 352.8 kB / 1.385 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.5172, allocations: 4 kB / 1.385 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.5172, allocations: 4 kB / 1.385 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.5176, allocations: 83.89 kB / 1.385 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5176, allocations: 4 kB / 1.385 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.5179, allocations: 71.27 kB / 1.385 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.5179, allocations: 19.92 kB / 1.385 GB, free: 2.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0002284/0.5182, allocations: 245.1 kB / 1.386 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.5183, allocations: 55.3 kB / 1.386 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/0.5191, allocations: 430.3 kB / 1.386 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5191, allocations: 4 kB / 1.386 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5191, allocations: 0 / 1.386 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5191, allocations: 3.984 kB / 1.386 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.521, allocations: 1.331 MB / 1.387 GB, free: 384 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.521, allocations: 4 kB / 1.387 GB, free: 380 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.5214, allocations: 83.8 kB / 1.388 GB, free: 296 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.5214, allocations: 8 kB / 1.388 GB, free: 288 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.5214, allocations: 16.42 kB / 1.388 GB, free: 272 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.5214, allocations: 8 kB / 1.388 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5214, allocations: 11.94 kB / 1.388 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.5225, allocations: 0.8508 MB / 1.388 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5226, allocations: 148.4 kB / 1.389 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.5227, allocations: 12 kB / 1.389 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.5231, allocations: 55.95 kB / 1.389 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.5231, allocations: 39.86 kB / 1.389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.5232, allocations: 19.98 kB / 1.389 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005104/0.5237, allocations: 382.8 kB / 1.389 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5237, allocations: 0 / 1.389 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005758/0.5243, allocations: 167.5 kB / 1.389 GB, free: 14.36 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (38): * Single equations (assignments): 38 * 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.001705/0.526, allocations: 2.808 MB / 1.392 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.5272, allocations: 0.5636 MB / 1.393 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5272, allocations: 0 / 1.393 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.5277, allocations: 192.4 kB / 1.393 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.5281, allocations: 71 kB / 1.393 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.5331, allocations: 3.175 MB / 1.396 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.5335, allocations: 0.8438 MB / 1.397 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000271/0.5338, allocations: 68.3 kB / 1.397 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.5341, allocations: 175.4 kB / 1.397 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of SimCode: time 4.21e-07/0.5341, allocations: 0 / 1.397 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4876/1.022, allocations: 8.446 MB / 1.405 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/1.022, allocations: 217.1 kB / 1.405 GB, free: 173.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.194, allocations: 0 / 1.405 GB, free: 173.6 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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_T_res.mat does not exist to compare? outputFormat=mat