Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.365/2.365, allocations: 393.5 MB / 408.4 MB, free: 11 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.001116/0.001116, allocations: 183.5 kB / 0.4901 GB, free: 2.234 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.517/1.517, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001389/0.001389, allocations: 98.03 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003531, allocations: 6.938 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2911, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.483, allocations: 151.5 MB / 1.377 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4833, allocations: 67.97 kB / 1.377 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02163/0.505, allocations: 7.987 MB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.415e-06/0.505, allocations: 4 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.836e-05/0.505, allocations: 12 kB / 1.385 GB, free: 9.738 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001386/0.5064, allocations: 0.7404 MB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5065, allocations: 8.031 kB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.5067, allocations: 94.52 kB / 1.386 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.5068, allocations: 63.23 kB / 1.386 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.5071, allocations: 249.4 kB / 1.386 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.5072, allocations: 41.31 kB / 1.386 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.5073, allocations: 60 kB / 1.386 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.5082, allocations: 0.5064 MB / 1.387 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.5082, allocations: 0 / 1.387 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.5083, allocations: 20 kB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5083, allocations: 12 kB / 1.387 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.5091, allocations: 372.6 kB / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.5116, allocations: 1.519 MB / 1.389 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.5123, allocations: 296.3 kB / 1.389 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.5123, allocations: 8.125 kB / 1.389 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.5128, allocations: 203.5 kB / 1.389 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 2.344e-06/0.5129, allocations: 0 / 1.389 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0009056/0.5138, allocations: 406.3 kB / 1.39 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.5138, allocations: 85.09 kB / 1.39 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.5143, allocations: 384.7 kB / 1.39 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.5144, allocations: 37.7 kB / 1.39 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.5146, allocations: 252.2 kB / 1.39 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.5147, allocations: 106.5 kB / 1.39 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.5147, allocations: 12 kB / 1.39 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5149, allocations: 350.8 kB / 1.391 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.5152, allocations: 132.3 kB / 1.391 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.5156, allocations: 188.7 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.5159, allocations: 179.5 kB / 1.391 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.516, allocations: 7.938 kB / 1.391 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008949/0.5169, allocations: 466.3 kB / 1.392 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.5169, allocations: 33.7 kB / 1.392 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5169, allocations: 0 / 1.392 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5169, allocations: 4 kB / 1.392 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.5173, allocations: 71.91 kB / 1.392 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.5173, allocations: 15.98 kB / 1.392 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.5177, allocations: 87.34 kB / 1.392 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.5177, allocations: 15.98 kB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0002208/0.5179, allocations: 174.5 kB / 1.392 GB, free: 2.312 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.518, allocations: 39.53 kB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.5187, allocations: 345.8 kB / 1.392 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5187, allocations: 4 kB / 1.392 GB, free: 1.922 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5187, allocations: 4 kB / 1.392 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5187, allocations: 3.984 kB / 1.392 GB, free: 1.914 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.52, allocations: 0.9883 MB / 1.393 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5201, allocations: 4 kB / 1.393 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.5203, allocations: 55.91 kB / 1.393 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.5203, allocations: 7.938 kB / 1.393 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.5204, allocations: 12 kB / 1.393 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5204, allocations: 4.188 kB / 1.393 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5204, allocations: 8 kB / 1.394 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.5212, allocations: 0.599 MB / 1.394 GB, free: 84 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.5213, allocations: 128.5 kB / 1.394 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.5214, allocations: 11.98 kB / 1.394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.5216, allocations: 16 kB / 1.394 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.5217, allocations: 27.86 kB / 1.394 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.5217, allocations: 16 kB / 1.394 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003654/0.5221, allocations: 299.1 kB / 1.395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5221, allocations: 0 / 1.395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004767/0.5226, allocations: 111.7 kB / 1.395 GB, free: 15.47 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001346/0.5239, allocations: 1.641 MB / 1.396 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007454/0.5247, allocations: 384.8 kB / 1.397 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5247, allocations: 0 / 1.397 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.525, allocations: 140.3 kB / 1.397 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.5255, allocations: 57.47 kB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.5276, allocations: 1.732 MB / 1.399 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.5281, allocations: 0.8403 MB / 1.399 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000158/0.5283, allocations: 43.25 kB / 1.399 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.5285, allocations: 155.4 kB / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.5285, allocations: 0 / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.552, allocations: 7.311 MB / 1.407 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/0.5522, allocations: 226.3 kB / 1.407 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.709, allocations: 2.234 kB / 1.407 GB, free: 3.004 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat