Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.398/2.398, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001304/0.001304, allocations: 178.8 kB / 0.4902 GB, free: 2.254 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.812/1.812, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001619/0.001619, allocations: 104.1 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 13.58 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.322, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.5364, allocations: 154.8 MB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004915/0.537, allocations: 87.94 kB / 1.381 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02766/0.5647, allocations: 9.186 MB / 1.39 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.22e-06/0.5647, allocations: 0 / 1.39 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.627e-05/0.5648, allocations: 7.938 kB / 1.39 GB, free: 1.07 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.001219/0.566, allocations: 0.534 MB / 1.39 GB, free: 500 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5661, allocations: 12.03 kB / 1.39 GB, free: 488 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.5662, allocations: 50.55 kB / 1.39 GB, free: 428 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.5664, allocations: 31.72 kB / 1.39 GB, free: 396 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.567, allocations: 281.6 kB / 1.39 GB, free: 72 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.567, allocations: 12 kB / 1.39 GB, free: 60 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.5671, allocations: 12 kB / 1.39 GB, free: 48 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.5676, allocations: 233.4 kB / 1.391 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5676, allocations: 0 / 1.391 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.5676, allocations: 16 kB / 1.391 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5676, allocations: 7.938 kB / 1.391 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.5687, allocations: 0.7449 MB / 1.391 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.5698, allocations: 0.6058 MB / 1.392 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.5705, allocations: 310.7 kB / 1.392 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.5705, allocations: 20.23 kB / 1.392 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.5709, allocations: 187.2 kB / 1.393 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.5709, allocations: 3.938 kB / 1.393 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.0007519/0.5717, allocations: 365.1 kB / 1.393 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5718, allocations: 136.4 kB / 1.393 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.5722, allocations: 276.1 kB / 1.393 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.5722, allocations: 33.7 kB / 1.393 GB, free: 13 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5723, allocations: 128.6 kB / 1.393 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5725, allocations: 114.4 kB / 1.394 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5725, allocations: 4 kB / 1.394 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5727, allocations: 338.8 kB / 1.394 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.5728, allocations: 79.95 kB / 1.394 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.573, allocations: 132.4 kB / 1.394 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5732, allocations: 95.97 kB / 1.394 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5732, allocations: 0 / 1.394 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004942/0.5737, allocations: 288.9 kB / 1.394 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5738, allocations: 4.938 kB / 1.394 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5738, allocations: 3.953 kB / 1.394 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5738, allocations: 4 kB / 1.394 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.5741, allocations: 59.91 kB / 1.394 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5741, allocations: 0 / 1.394 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.5743, allocations: 35.83 kB / 1.395 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.5743, allocations: 8 kB / 1.395 GB, free: 11.7 MB / 0.9011 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.0002177/0.5746, allocations: 169.7 kB / 1.395 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.5746, allocations: 27.72 kB / 1.395 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/0.5754, allocations: 393.2 kB / 1.395 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5754, allocations: 11.95 kB / 1.395 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5754, allocations: 0 / 1.395 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5754, allocations: 4 kB / 1.395 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.5759, allocations: 341.3 kB / 1.395 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5759, allocations: 7.984 kB / 1.395 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.5761, allocations: 55.92 kB / 1.395 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5761, allocations: 8.031 kB / 1.395 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5761, allocations: 11.98 kB / 1.396 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5761, allocations: 0 / 1.396 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5761, allocations: 3.953 kB / 1.396 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.5767, allocations: 325.6 kB / 1.396 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.5769, allocations: 164.5 kB / 1.396 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.577, allocations: 11.94 kB / 1.396 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.5772, allocations: 27.98 kB / 1.396 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.5773, allocations: 31.91 kB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.5773, allocations: 16 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000257/0.5776, allocations: 228.4 kB / 1.396 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5776, allocations: 0 / 1.396 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003801/0.578, allocations: 83.91 kB / 1.396 GB, free: 9.715 MB / 0.9011 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.002025/0.58, allocations: 1.157 MB / 1.397 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.5805, allocations: 227.6 kB / 1.398 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5805, allocations: 0 / 1.398 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.5807, allocations: 127.8 kB / 1.398 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.5811, allocations: 36.36 kB / 1.398 GB, free: 8.289 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.002933/0.584, allocations: 1.544 MB / 1.399 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.5845, allocations: 0.7658 MB / 1.4 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004215/0.585, allocations: 151 kB / 1.4 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5852, allocations: 99.39 kB / 1.4 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of SimCode: time 1.633e-06/0.5852, allocations: 0 / 1.4 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.799, allocations: 6.007 MB / 1.406 GB, free: 170.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/1.799, allocations: 255.4 kB / 1.406 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.805, allocations: 2.562 kB / 1.406 GB, free: 169.9 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat does not exist to compare? outputFormat=mat