Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.413/2.413, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001159/0.001159, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.638/1.638, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001088/0.001088, allocations: 95.39 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.632e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3451, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.542, allocations: 151.3 MB / 1.36 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.542, allocations: 76.2 kB / 1.36 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7049/2.247, allocations: 296.2 MB / 1.65 GB, free: 2.363 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.144e-06/2.247, allocations: 0 / 1.65 GB, free: 2.363 MB / 1.073 GB Notification: Performance of Transformations before backend: time 2.746e-05/2.247, allocations: 4 kB / 1.65 GB, free: 2.359 MB / 1.073 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.002305/2.249, allocations: 0.4911 MB / 1.65 GB, free: 1.844 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/2.249, allocations: 8.031 kB / 1.65 GB, free: 1.836 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.844e-05/2.25, allocations: 42.5 kB / 1.65 GB, free: 1.785 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/2.25, allocations: 35.53 kB / 1.65 GB, free: 1.75 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/2.25, allocations: 375 kB / 1.651 GB, free: 1.387 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/2.251, allocations: 7.938 kB / 1.651 GB, free: 1.383 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/2.251, allocations: 3.938 kB / 1.651 GB, free: 1.379 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/2.251, allocations: 98.77 kB / 1.651 GB, free: 1.273 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/2.251, allocations: 0 / 1.651 GB, free: 1.273 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/2.251, allocations: 0 / 1.651 GB, free: 1.273 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/2.251, allocations: 7.891 kB / 1.651 GB, free: 1.266 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/2.251, allocations: 69.23 kB / 1.651 GB, free: 1.211 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/2.252, allocations: 335.6 kB / 1.651 GB, free: 0.875 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/2.252, allocations: 108.8 kB / 1.651 GB, free: 0.7422 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/2.252, allocations: 66.45 kB / 1.651 GB, free: 0.6719 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/2.252, allocations: 3.828 kB / 1.651 GB, free: 0.6719 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/2.252, allocations: 41.88 kB / 1.651 GB, free: 0.625 MB / 1.073 GB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/2.252, allocations: 0 / 1.651 GB, free: 0.625 MB / 1.073 GB Notification: Performance of matching and sorting (n=4): time 0.0004405/2.252, allocations: 145.9 kB / 1.651 GB, free: 0.4922 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/2.253, allocations: 136.5 kB / 1.651 GB, free: 336 kB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/2.253, allocations: 430.4 kB / 1.652 GB, free: 15.98 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/2.253, allocations: 25.7 kB / 1.652 GB, free: 15.95 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/2.253, allocations: 166.4 kB / 1.652 GB, free: 15.84 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/2.253, allocations: 18.81 kB / 1.652 GB, free: 15.83 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/2.253, allocations: 0 / 1.652 GB, free: 15.83 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001527/2.254, allocations: 343.4 kB / 1.652 GB, free: 15.5 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/2.254, allocations: 34.28 kB / 1.652 GB, free: 15.47 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/2.254, allocations: 96.5 kB / 1.653 GB, free: 15.36 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/2.254, allocations: 50.27 kB / 1.653 GB, free: 15.32 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.254, allocations: 0 / 1.653 GB, free: 15.32 MB / 1.089 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002542/2.254, allocations: 146.2 kB / 1.653 GB, free: 15.19 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/2.254, allocations: 4.125 kB / 1.653 GB, free: 15.18 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/2.254, allocations: 4 kB / 1.653 GB, free: 15.18 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/2.254, allocations: 4 kB / 1.653 GB, free: 15.18 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/2.254, allocations: 15.92 kB / 1.653 GB, free: 15.16 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/2.254, allocations: 0 / 1.653 GB, free: 15.16 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/2.255, allocations: 11.94 kB / 1.653 GB, free: 15.15 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/2.255, allocations: 7.984 kB / 1.653 GB, free: 15.14 MB / 1.089 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 () * 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 8.06e-05/2.255, allocations: 104.5 kB / 1.653 GB, free: 15.04 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/2.255, allocations: 31.62 kB / 1.653 GB, free: 15 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/2.255, allocations: 188.9 kB / 1.653 GB, free: 14.85 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/2.255, allocations: 4 kB / 1.653 GB, free: 14.84 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/2.255, allocations: 0 / 1.653 GB, free: 14.84 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/2.255, allocations: 0 / 1.653 GB, free: 14.84 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/2.255, allocations: 302.7 kB / 1.653 GB, free: 14.54 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/2.255, allocations: 7.938 kB / 1.653 GB, free: 14.53 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/2.255, allocations: 16.11 kB / 1.653 GB, free: 14.52 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/2.255, allocations: 4 kB / 1.653 GB, free: 14.51 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/2.255, allocations: 0 / 1.653 GB, free: 14.51 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/2.255, allocations: 4 kB / 1.653 GB, free: 14.51 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.256, allocations: 0 / 1.653 GB, free: 14.51 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/2.256, allocations: 230.1 kB / 1.654 GB, free: 14.27 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/2.256, allocations: 133.2 kB / 1.654 GB, free: 14.12 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/2.256, allocations: 7.953 kB / 1.654 GB, free: 14.12 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/2.256, allocations: 4 kB / 1.654 GB, free: 14.11 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/2.256, allocations: 11.36 kB / 1.654 GB, free: 14.11 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/2.256, allocations: 0 / 1.654 GB, free: 14.11 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.00041/2.257, allocations: 365.6 kB / 1.654 GB, free: 13.82 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.6e-07/2.257, allocations: 0 / 1.654 GB, free: 13.82 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0002902/2.257, allocations: 40 kB / 1.654 GB, free: 13.79 MB / 1.089 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 () * 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.0007542/2.258, allocations: 0.9953 MB / 1.655 GB, free: 12.77 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.000182/2.258, allocations: 87.81 kB / 1.655 GB, free: 12.7 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.258, allocations: 4 kB / 1.655 GB, free: 12.7 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/2.258, allocations: 43.59 kB / 1.655 GB, free: 12.66 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/2.258, allocations: 71 kB / 1.655 GB, free: 12.61 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/2.259, allocations: 0.5072 MB / 1.656 GB, free: 12.11 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/2.26, allocations: 0.8236 MB / 1.657 GB, free: 11.27 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000182/2.26, allocations: 54.03 kB / 1.657 GB, free: 11.21 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/2.26, allocations: 87.97 kB / 1.657 GB, free: 11.18 MB / 1.089 GB Notification: Performance of SimCode: time 4.5e-07/2.26, allocations: 0 / 1.657 GB, free: 11.18 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/2.28, allocations: 6.708 MB / 1.663 GB, free: 4.695 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/2.28, allocations: 186.3 kB / 1.664 GB, free: 4.465 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/4.285, allocations: 4 kB / 1.664 GB, free: 4.461 MB / 1.089 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat does not exist to compare? outputFormat=mat