Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.234/2.234, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001078/0.001077, allocations: 176.3 kB / 498.1 MB, free: 5.82 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.475/1.475, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0008841/0.0008841, allocations: 106.8 kB / 0.9346 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003201, allocations: 10.59 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.4434, allocations: 152.8 MB / 1.372 GB, free: 460 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4437, allocations: 95.94 kB / 1.372 GB, free: 364 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02054/0.4642, allocations: 8.246 MB / 1.38 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4643, allocations: 3.938 kB / 1.38 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.4643, allocations: 8 kB / 1.38 GB, free: 8.086 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.0007245/0.465, allocations: 0.5147 MB / 1.381 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4651, allocations: 8.031 kB / 1.381 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.4652, allocations: 50.55 kB / 1.381 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.4652, allocations: 27.72 kB / 1.381 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4656, allocations: 266.5 kB / 1.381 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4656, allocations: 12 kB / 1.381 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4657, allocations: 12 kB / 1.381 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.466, allocations: 208.8 kB / 1.381 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.466, allocations: 0 / 1.381 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.466, allocations: 15.94 kB / 1.381 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4661, allocations: 4 kB / 1.381 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.4669, allocations: 0.7295 MB / 1.382 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.4678, allocations: 0.5669 MB / 1.383 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.4682, allocations: 296.6 kB / 1.383 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4683, allocations: 24.25 kB / 1.383 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.4686, allocations: 170 kB / 1.383 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.4686, allocations: 0 / 1.383 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0006185/0.4692, allocations: 373 kB / 1.384 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.4693, allocations: 132.5 kB / 1.384 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4696, allocations: 256.6 kB / 1.384 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4696, allocations: 37.69 kB / 1.384 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.4697, allocations: 124.7 kB / 1.384 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.4698, allocations: 110.4 kB / 1.384 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.4698, allocations: 8 kB / 1.384 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.47, allocations: 338.8 kB / 1.384 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.4701, allocations: 80.11 kB / 1.385 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.4703, allocations: 123.2 kB / 1.385 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.4704, allocations: 104 kB / 1.385 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4704, allocations: 0 / 1.385 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004144/0.4709, allocations: 281.4 kB / 1.385 GB, free: 3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4709, allocations: 8 kB / 1.385 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4709, allocations: 0 / 1.385 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4709, allocations: 3.938 kB / 1.385 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.4712, allocations: 63.89 kB / 1.385 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4712, allocations: 3.953 kB / 1.385 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4714, allocations: 31.75 kB / 1.385 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4714, allocations: 15.98 kB / 1.385 GB, free: 2.875 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 (35): * Single equations (assignments): 35 * 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.000164/0.4716, allocations: 161.8 kB / 1.385 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.4716, allocations: 23.72 kB / 1.385 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.4723, allocations: 385.4 kB / 1.386 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4723, allocations: 4 kB / 1.386 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4723, allocations: 0 / 1.386 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4723, allocations: 11.94 kB / 1.386 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.4727, allocations: 337.2 kB / 1.386 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4727, allocations: 0 / 1.386 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.4728, allocations: 59.91 kB / 1.386 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4729, allocations: 0 / 1.386 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.4729, allocations: 8 kB / 1.386 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4729, allocations: 0 / 1.386 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4729, allocations: 4 kB / 1.386 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.4734, allocations: 333.8 kB / 1.386 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.4735, allocations: 156.7 kB / 1.387 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.4736, allocations: 12 kB / 1.387 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4737, allocations: 15.98 kB / 1.387 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.4738, allocations: 19.97 kB / 1.387 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4738, allocations: 12 kB / 1.387 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002072/0.474, allocations: 220.4 kB / 1.387 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.474, allocations: 0 / 1.387 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002947/0.4743, allocations: 71.92 kB / 1.387 GB, free: 0.9766 MB / 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 (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.001569/0.4759, allocations: 1.152 MB / 1.388 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.4763, allocations: 224.3 kB / 1.388 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4763, allocations: 0 / 1.388 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.4765, allocations: 131.8 kB / 1.388 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.4767, allocations: 33.62 kB / 1.388 GB, free: 15.56 MB / 0.9011 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.002034/0.4787, allocations: 1.465 MB / 1.39 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.4791, allocations: 0.7652 MB / 1.391 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.4794, allocations: 154.9 kB / 1.391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.4795, allocations: 91.39 kB / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of SimCode: time 4.11e-07/0.4795, allocations: 0 / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3636/0.8432, allocations: 5.484 MB / 1.396 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.8434, allocations: 259.5 kB / 1.396 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.802, allocations: 0 / 1.396 GB, free: 7.477 MB / 0.9011 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat