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.347/2.347, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001114/0.001114, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008858/0.0008859, allocations: 88.02 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.175e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2845, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8466/1.131, allocations: 154.8 MB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.131, allocations: 91.5 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02365/1.155, allocations: 8.973 MB / 1.379 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.155, allocations: 0 / 1.379 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.748e-05/1.155, allocations: 4 kB / 1.379 GB, free: 7.809 MB / 0.8386 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.0008025/1.156, allocations: 0.4987 MB / 1.379 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.156, allocations: 8.031 kB / 1.379 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.319e-05/1.156, allocations: 64.97 kB / 1.379 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/1.156, allocations: 27.72 kB / 1.379 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/1.157, allocations: 277.7 kB / 1.38 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/1.157, allocations: 12.62 kB / 1.38 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.157, allocations: 15.25 kB / 1.38 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/1.157, allocations: 222.9 kB / 1.38 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.157, allocations: 0 / 1.38 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/1.157, allocations: 15.06 kB / 1.38 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/1.157, allocations: 7.938 kB / 1.38 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/1.158, allocations: 0.7457 MB / 1.381 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.159, allocations: 0.6141 MB / 1.381 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/1.16, allocations: 299.6 kB / 1.382 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/1.16, allocations: 104.1 kB / 1.382 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/1.16, allocations: 19.69 kB / 1.382 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/1.16, allocations: 181.3 kB / 1.382 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/1.16, allocations: 0 / 1.382 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0005431/1.161, allocations: 281.8 kB / 1.382 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/1.161, allocations: 136.5 kB / 1.382 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/1.161, allocations: 264.5 kB / 1.383 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/1.161, allocations: 31.95 kB / 1.383 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/1.162, allocations: 139.2 kB / 1.383 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/1.162, allocations: 104.2 kB / 1.383 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/1.162, allocations: 7.812 kB / 1.383 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.162, allocations: 341.1 kB / 1.383 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/1.162, allocations: 79.16 kB / 1.383 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/1.162, allocations: 123.8 kB / 1.383 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/1.162, allocations: 100.9 kB / 1.383 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.162, allocations: 0 / 1.383 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004211/1.163, allocations: 279.4 kB / 1.384 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.163, allocations: 13.5 kB / 1.384 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/1.163, allocations: 0 / 1.384 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.163, allocations: 4 kB / 1.384 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/1.163, allocations: 63.47 kB / 1.384 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.163, allocations: 3.984 kB / 1.384 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/1.163, allocations: 33.84 kB / 1.384 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/1.163, allocations: 11.98 kB / 1.384 GB, free: 3.254 MB / 0.8386 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 () * 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.0001111/1.163, allocations: 122.5 kB / 1.384 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/1.163, allocations: 23.72 kB / 1.384 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/1.164, allocations: 393.4 kB / 1.384 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.164, allocations: 4 kB / 1.384 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.164, allocations: 0 / 1.384 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.164, allocations: 3.984 kB / 1.384 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/1.165, allocations: 352.6 kB / 1.385 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.165, allocations: 4 kB / 1.385 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.165, allocations: 59.91 kB / 1.385 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.165, allocations: 0 / 1.385 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/1.165, allocations: 15.67 kB / 1.385 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.165, allocations: 3.953 kB / 1.385 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.165, allocations: 4 kB / 1.385 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/1.165, allocations: 322.6 kB / 1.385 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.165, allocations: 157.5 kB / 1.385 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/1.165, allocations: 7.062 kB / 1.385 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/1.166, allocations: 31.47 kB / 1.385 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/1.166, allocations: 35.03 kB / 1.385 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/1.166, allocations: 11.98 kB / 1.385 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002173/1.166, allocations: 225.3 kB / 1.386 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.166, allocations: 0 / 1.386 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003219/1.166, allocations: 73.69 kB / 1.386 GB, free: 1.652 MB / 0.8386 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) * 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.001524/1.168, allocations: 1.129 MB / 1.387 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003729/1.168, allocations: 217.5 kB / 1.387 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.168, allocations: 0 / 1.387 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/1.168, allocations: 135.8 kB / 1.387 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.169, allocations: 39.31 kB / 1.387 GB, free: 400 kB / 0.8386 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.001028/1.17, allocations: 0.4963 MB / 1.388 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/1.17, allocations: 0.7683 MB / 1.388 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003499/1.17, allocations: 158.8 kB / 1.388 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.171, allocations: 95.58 kB / 1.389 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.171, allocations: 0 / 1.389 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4611/1.632, allocations: 5.993 MB / 1.394 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.632, allocations: 231.4 kB / 1.395 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/3.692, allocations: 1.891 kB / 1.395 GB, free: 8.902 MB / 0.8542 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