Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001171/0.001171, allocations: 176 kB / 0.4901 GB, free: 2.246 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.634/1.634, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009341/0.000934, allocations: 104.9 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 10.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.4264, allocations: 153.6 MB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4267, allocations: 91.94 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.4482, allocations: 8.251 MB / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4483, allocations: 0 / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2e-05/0.4483, allocations: 7.938 kB / 1.387 GB, free: 7.457 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.0007377/0.4491, allocations: 0.5187 MB / 1.388 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4491, allocations: 8.031 kB / 1.388 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.167e-05/0.4492, allocations: 46.55 kB / 1.388 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.4493, allocations: 27.72 kB / 1.388 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.4496, allocations: 270.5 kB / 1.388 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4497, allocations: 12 kB / 1.388 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.4497, allocations: 12 kB / 1.388 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.45, allocations: 216.7 kB / 1.389 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.45, allocations: 0 / 1.389 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.4501, allocations: 8 kB / 1.389 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4502, allocations: 4 kB / 1.389 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.4511, allocations: 0.7294 MB / 1.389 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4521, allocations: 0.5668 MB / 1.39 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.4526, allocations: 297.4 kB / 1.39 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.4527, allocations: 24.19 kB / 1.39 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.453, allocations: 170.1 kB / 1.39 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 1.913e-06/0.453, allocations: 0 / 1.39 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0007047/0.4537, allocations: 373 kB / 1.391 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4538, allocations: 132.5 kB / 1.391 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.4542, allocations: 264 kB / 1.391 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.4542, allocations: 37.64 kB / 1.391 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.4543, allocations: 120.7 kB / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4545, allocations: 114.3 kB / 1.391 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.4545, allocations: 8 kB / 1.391 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4546, allocations: 342.8 kB / 1.392 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4548, allocations: 75.95 kB / 1.392 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.455, allocations: 123.4 kB / 1.392 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.4552, allocations: 108.6 kB / 1.392 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4552, allocations: 0 / 1.392 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004081/0.4556, allocations: 273 kB / 1.392 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4556, allocations: 8 kB / 1.392 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4556, allocations: 3.938 kB / 1.392 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4557, allocations: 0 / 1.392 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4559, allocations: 59.97 kB / 1.392 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4559, allocations: 3.953 kB / 1.392 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4561, allocations: 31.83 kB / 1.392 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.4561, allocations: 11.94 kB / 1.392 GB, free: 2.246 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.0001571/0.4563, allocations: 165.8 kB / 1.392 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.4563, allocations: 27.62 kB / 1.392 GB, free: 2.047 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.457, allocations: 389.4 kB / 1.393 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.457, allocations: 4 kB / 1.393 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.457, allocations: 0 / 1.393 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.457, allocations: 11.94 kB / 1.393 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.4573, allocations: 333.2 kB / 1.393 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4574, allocations: 3.984 kB / 1.393 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.4575, allocations: 55.92 kB / 1.393 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4576, allocations: 0 / 1.393 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4576, allocations: 11.98 kB / 1.393 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4576, allocations: 4 kB / 1.393 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4576, allocations: 4 kB / 1.393 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.4581, allocations: 325.9 kB / 1.394 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4583, allocations: 156.6 kB / 1.394 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4583, allocations: 7.984 kB / 1.394 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4584, allocations: 12 kB / 1.394 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.4585, allocations: 27.89 kB / 1.394 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4585, allocations: 16 kB / 1.394 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002039/0.4588, allocations: 221.6 kB / 1.394 GB, free: 420 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4588, allocations: 0 / 1.394 GB, free: 420 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003175/0.4591, allocations: 67.94 kB / 1.394 GB, free: 352 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 (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.001549/0.4606, allocations: 1.154 MB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.461, allocations: 228.3 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.461, allocations: 0 / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.4612, allocations: 135.7 kB / 1.396 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.4615, allocations: 24.66 kB / 1.396 GB, free: 14.92 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.002108/0.4636, allocations: 1.453 MB / 1.397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4639, allocations: 0.769 MB / 1.398 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.4643, allocations: 154.8 kB / 1.398 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.4644, allocations: 91.39 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of SimCode: time 2.765e-06/0.4644, allocations: 0 / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4354/0.8998, allocations: 5.502 MB / 1.403 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.9001, allocations: 246 kB / 1.404 GB, free: 6.746 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.794, allocations: 0 / 1.404 GB, free: 6.746 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat