Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.396/2.396, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001087/0.001087, allocations: 178.9 kB / 0.4901 GB, free: 2.23 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.714/1.714, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.001125/0.001125, allocations: 112.2 kB / 0.9396 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003656, allocations: 13.5 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3271, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.5387, allocations: 153.7 MB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003959/0.5392, allocations: 87.88 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02406/0.5633, allocations: 8.337 MB / 1.388 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5634, allocations: 0 / 1.388 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.5634, allocations: 4 kB / 1.388 GB, free: 7.188 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009453/0.5643, allocations: 0.5109 MB / 1.388 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5644, allocations: 8.031 kB / 1.388 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.628e-05/0.5645, allocations: 54.55 kB / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.5646, allocations: 23.72 kB / 1.388 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.565, allocations: 280.1 kB / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.5651, allocations: 8 kB / 1.388 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5651, allocations: 16 kB / 1.389 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.5655, allocations: 212.7 kB / 1.389 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5655, allocations: 3.938 kB / 1.389 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.5656, allocations: 12 kB / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5656, allocations: 0 / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.5665, allocations: 0.7295 MB / 1.389 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.5675, allocations: 0.5704 MB / 1.39 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.5679, allocations: 228.2 kB / 1.39 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.5679, allocations: 19.91 kB / 1.39 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.5682, allocations: 165.5 kB / 1.39 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.5683, allocations: 0 / 1.39 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.0006863/0.569, allocations: 366.7 kB / 1.391 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.5691, allocations: 136.5 kB / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.5694, allocations: 272.1 kB / 1.391 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.5694, allocations: 29.7 kB / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.5695, allocations: 128.6 kB / 1.391 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5697, allocations: 110.4 kB / 1.391 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.5697, allocations: 4 kB / 1.391 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5699, allocations: 338.8 kB / 1.392 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.57, allocations: 79.95 kB / 1.392 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.5702, allocations: 127.3 kB / 1.392 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.5704, allocations: 101.6 kB / 1.392 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5704, allocations: 0 / 1.392 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004872/0.5709, allocations: 273.1 kB / 1.392 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.571, allocations: 5.875 kB / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.571, allocations: 0 / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.571, allocations: 0 / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.5713, allocations: 63.95 kB / 1.392 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.5713, allocations: 11.88 kB / 1.392 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.5715, allocations: 27.84 kB / 1.392 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.5716, allocations: 15.98 kB / 1.392 GB, free: 2.047 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002294/0.5718, allocations: 157.8 kB / 1.393 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.5719, allocations: 27.62 kB / 1.393 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.5726, allocations: 376.6 kB / 1.393 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5726, allocations: 4 kB / 1.393 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.5726, allocations: 4 kB / 1.393 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5727, allocations: 3.953 kB / 1.393 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.573, allocations: 337.3 kB / 1.393 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5731, allocations: 0 / 1.393 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5732, allocations: 55.91 kB / 1.393 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.5732, allocations: 4 kB / 1.393 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.5733, allocations: 8 kB / 1.393 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5733, allocations: 4 kB / 1.393 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5733, allocations: 3.984 kB / 1.393 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.5738, allocations: 334.1 kB / 1.394 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.574, allocations: 152.7 kB / 1.394 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.574, allocations: 4 kB / 1.394 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.5742, allocations: 19.98 kB / 1.394 GB, free: 492 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.5743, allocations: 27.91 kB / 1.394 GB, free: 464 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.5743, allocations: 15.94 kB / 1.394 GB, free: 448 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002379/0.5746, allocations: 224.4 kB / 1.394 GB, free: 224 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5746, allocations: 3.938 kB / 1.394 GB, free: 220 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004104/0.575, allocations: 67.92 kB / 1.394 GB, free: 152 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.002002/0.577, allocations: 1.141 MB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.5775, allocations: 216.3 kB / 1.395 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5775, allocations: 8 kB / 1.395 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.5777, allocations: 128.3 kB / 1.396 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.578, allocations: 24.66 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.5806, allocations: 1.467 MB / 1.397 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.5811, allocations: 0.7579 MB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003904/0.5815, allocations: 154.7 kB / 1.398 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.5817, allocations: 91.39 kB / 1.398 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of SimCode: time 3.977e-06/0.5817, allocations: 0 / 1.398 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4847/1.066, allocations: 5.546 MB / 1.403 GB, free: 6.867 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.067, allocations: 262.1 kB / 1.404 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.152, allocations: 4.984 kB / 1.404 GB, free: 6.527 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat