Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.547/2.547, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001383/0.001383, allocations: 189 kB / 498.1 MB, free: 5.773 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.571/1.571, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009777/0.0009777, allocations: 97.06 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004142, allocations: 13.86 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.4664, allocations: 154 MB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4668, allocations: 95.94 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02444/0.4912, allocations: 9.179 MB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4913, allocations: 4 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.4913, allocations: 7.984 kB / 1.382 GB, free: 14.65 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008675/0.4922, allocations: 0.5379 MB / 1.383 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4922, allocations: 11.97 kB / 1.383 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.822e-05/0.4923, allocations: 54.55 kB / 1.383 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4925, allocations: 31.72 kB / 1.383 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.4929, allocations: 277.5 kB / 1.383 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4929, allocations: 16 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.493, allocations: 23.94 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.4934, allocations: 224.8 kB / 1.384 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4934, allocations: 3.938 kB / 1.384 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.4934, allocations: 8 kB / 1.384 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4935, allocations: 4 kB / 1.384 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.4944, allocations: 0.7449 MB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009956/0.4954, allocations: 0.6098 MB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.4958, allocations: 294 kB / 1.385 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.4959, allocations: 20.25 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.4962, allocations: 187.4 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.4962, allocations: 0 / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.000665/0.4969, allocations: 372.9 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.497, allocations: 132.5 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.4973, allocations: 264.1 kB / 1.386 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.4973, allocations: 33.7 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.4974, allocations: 140.6 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.4975, allocations: 110.4 kB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.4975, allocations: 12 kB / 1.386 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.4976, allocations: 338.8 kB / 1.387 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4978, allocations: 83.8 kB / 1.387 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.4979, allocations: 119.4 kB / 1.387 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.4981, allocations: 105.7 kB / 1.387 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4981, allocations: 0 / 1.387 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004307/0.4985, allocations: 288.8 kB / 1.387 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4986, allocations: 9.562 kB / 1.387 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4986, allocations: 3.953 kB / 1.387 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4986, allocations: 0 / 1.387 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.4988, allocations: 63.91 kB / 1.387 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4988, allocations: 11.92 kB / 1.387 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.499, allocations: 27.77 kB / 1.387 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.4991, allocations: 16 kB / 1.387 GB, free: 9.258 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 (36): * Single equations (assignments): 36 * 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.0001621/0.4992, allocations: 165.8 kB / 1.388 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.4993, allocations: 27.62 kB / 1.388 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.4999, allocations: 384.5 kB / 1.388 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5, allocations: 7.953 kB / 1.388 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5, allocations: 3.984 kB / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5, allocations: 3.938 kB / 1.388 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.5003, allocations: 345.3 kB / 1.388 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5003, allocations: 0 / 1.388 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.5005, allocations: 59.97 kB / 1.388 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.5005, allocations: 7.938 kB / 1.388 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.5006, allocations: 11.98 kB / 1.388 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5006, allocations: 0 / 1.388 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5006, allocations: 3.953 kB / 1.388 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.5011, allocations: 326 kB / 1.389 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.5013, allocations: 156.7 kB / 1.389 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.5014, allocations: 15.98 kB / 1.389 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.5016, allocations: 31.98 kB / 1.389 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.5017, allocations: 27.92 kB / 1.389 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.5017, allocations: 15.98 kB / 1.389 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002158/0.5019, allocations: 220.4 kB / 1.389 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5019, allocations: 0 / 1.389 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003298/0.5023, allocations: 79.92 kB / 1.389 GB, free: 7.305 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 (35): * Single equations (assignments): 34 * 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.001591/0.5039, allocations: 1.159 MB / 1.39 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.5043, allocations: 228.1 kB / 1.391 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5043, allocations: 0 / 1.391 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.5045, allocations: 139.7 kB / 1.391 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5047, allocations: 34.3 kB / 1.391 GB, free: 5.875 MB / 0.8855 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.002293/0.507, allocations: 1.542 MB / 1.392 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.5074, allocations: 0.7668 MB / 1.393 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.5077, allocations: 154.9 kB / 1.393 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.5079, allocations: 99.39 kB / 1.393 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of SimCode: time 5.821e-06/0.5079, allocations: 4 kB / 1.393 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4217/0.9297, allocations: 5.997 MB / 1.399 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/0.9301, allocations: 262.9 kB / 1.399 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.963, allocations: 0 / 1.399 GB, free: 13.1 MB / 0.9011 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat does not exist to compare? outputFormat=mat