Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.341/2.341, allocations: 390.3 MB / 405.3 MB, free: 13.35 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.001137/0.001137, allocations: 188.3 kB / 498.1 MB, free: 5.59 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.606/1.606, allocations: 223.1 MB / 0.7948 GB, free: 17.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.001061/0.00106, allocations: 108 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 10.72 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2983, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.4902, allocations: 151.3 MB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4904, allocations: 71.97 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.274/1.764, allocations: 292.4 MB / 1.656 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.884e-06/1.764, allocations: 0 / 1.656 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.764, allocations: 4 kB / 1.656 GB, free: 6.652 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002413/1.767, allocations: 0.6089 MB / 1.657 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.767, allocations: 12.03 kB / 1.657 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/1.767, allocations: 32.44 kB / 1.657 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/1.767, allocations: 38.02 kB / 1.657 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/1.768, allocations: 381.2 kB / 1.657 GB, free: 5.57 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/1.768, allocations: 4 kB / 1.657 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/1.768, allocations: 3.062 kB / 1.657 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/1.768, allocations: 107 kB / 1.657 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.768, allocations: 3.188 kB / 1.657 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.768, allocations: 0 / 1.657 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/1.768, allocations: 0 / 1.657 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/1.768, allocations: 70.14 kB / 1.658 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/1.768, allocations: 337.5 kB / 1.658 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/1.769, allocations: 106.3 kB / 1.658 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/1.769, allocations: 8.125 kB / 1.658 GB, free: 4.926 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.769, allocations: 38.5 kB / 1.658 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/1.769, allocations: 0 / 1.658 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4): time 0.0003733/1.769, allocations: 179.6 kB / 1.658 GB, free: 4.723 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.769, allocations: 140.4 kB / 1.658 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/1.77, allocations: 432.6 kB / 1.659 GB, free: 4.207 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/1.77, allocations: 33.7 kB / 1.659 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/1.77, allocations: 163.6 kB / 1.659 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/1.77, allocations: 7.812 kB / 1.659 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.77, allocations: 3.281 kB / 1.659 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.77, allocations: 351.9 kB / 1.659 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/1.77, allocations: 31.59 kB / 1.659 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.77, allocations: 94.25 kB / 1.659 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/1.77, allocations: 43.59 kB / 1.659 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.77, allocations: 0 / 1.659 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002354/1.771, allocations: 146.5 kB / 1.66 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.771, allocations: 8.125 kB / 1.66 GB, free: 3.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.771, allocations: 0 / 1.66 GB, free: 3.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.771, allocations: 4 kB / 1.66 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.771, allocations: 15.92 kB / 1.66 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.771, allocations: 0 / 1.66 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.771, allocations: 7.984 kB / 1.66 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.771, allocations: 6.938 kB / 1.66 GB, free: 3.379 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0002005/1.771, allocations: 183.1 kB / 1.66 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/1.771, allocations: 31.62 kB / 1.66 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/1.772, allocations: 185 kB / 1.66 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.772, allocations: 7.922 kB / 1.66 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.772, allocations: 4 kB / 1.66 GB, free: 3.012 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.772, allocations: 4.078 kB / 1.66 GB, free: 3.008 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/1.772, allocations: 300.9 kB / 1.66 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.772, allocations: 0 / 1.66 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/1.772, allocations: 16.12 kB / 1.66 GB, free: 2.691 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.772, allocations: 4 kB / 1.66 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.772, allocations: 7.562 kB / 1.66 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.772, allocations: 7.984 kB / 1.66 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.772, allocations: 0 / 1.66 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/1.772, allocations: 229.6 kB / 1.661 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/1.773, allocations: 127.7 kB / 1.661 GB, free: 2.293 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/1.773, allocations: 7.234 kB / 1.661 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.773, allocations: 7.953 kB / 1.661 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/1.773, allocations: 7.984 kB / 1.661 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/1.773, allocations: 4 kB / 1.661 GB, free: 2.27 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004068/1.773, allocations: 362.5 kB / 1.661 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3e-07/1.773, allocations: 0 / 1.661 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002819/1.773, allocations: 43.5 kB / 1.661 GB, free: 1.953 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007262/1.774, allocations: 1.001 MB / 1.662 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001927/1.774, allocations: 85.48 kB / 1.662 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.774, allocations: 0 / 1.662 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/1.775, allocations: 43.03 kB / 1.662 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/1.775, allocations: 64.8 kB / 1.662 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/1.778, allocations: 2.461 MB / 1.665 GB, free: 14.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.779, allocations: 0.8253 MB / 1.665 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002183/1.779, allocations: 58.23 kB / 1.666 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.779, allocations: 81.41 kB / 1.666 GB, free: 13.61 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/1.779, allocations: 0 / 1.666 GB, free: 13.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/1.803, allocations: 6.772 MB / 1.672 GB, free: 7.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/1.803, allocations: 217.7 kB / 1.672 GB, free: 6.828 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/4.125, allocations: 7.312 kB / 1.672 GB, free: 6.824 MB / 0.948 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat does not exist to compare? outputFormat=mat