Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",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.178/2.178, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001296/0.001296, allocations: 188.6 kB / 487.4 MB, free: 5.066 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.514/1.514, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009798/0.0009802, allocations: 95.78 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.311e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3122, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.387, allocations: 150.4 MB / 1.353 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.388, allocations: 90.14 kB / 1.353 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01054/1.398, allocations: 3.319 MB / 1.356 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.398, allocations: 0 / 1.356 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.398, allocations: 0 / 1.356 GB, free: 33.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004637/1.399, allocations: 367.2 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.399, allocations: 11.66 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/1.399, allocations: 26.89 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.399, allocations: 180 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.399, allocations: 3.875 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/1.399, allocations: 0 / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001302/1.4, allocations: 37.09 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.4, allocations: 63.94 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.4, allocations: 0 / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/1.4, allocations: 0.75 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.4, allocations: 0 / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/1.4, allocations: 302.8 kB / 1.357 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/1.4, allocations: 56.19 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/1.4, allocations: 24.73 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.401, allocations: 4.672 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.401, allocations: 38.55 kB / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.401, allocations: 0 / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005383/1.401, allocations: 121.2 kB / 1.357 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/1.401, allocations: 51.41 kB / 1.358 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.401, allocations: 111.4 kB / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.401, allocations: 25.7 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/1.401, allocations: 88.17 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/1.401, allocations: 4.656 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/1.401, allocations: 11.88 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.402, allocations: 320 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/1.402, allocations: 15.78 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/1.402, allocations: 20.45 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/1.402, allocations: 62.91 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.402, allocations: 0 / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003774/1.402, allocations: 117.1 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.402, allocations: 4.5 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.402, allocations: 4 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.402, allocations: 3.969 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.403, allocations: 17.89 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.403, allocations: 1.969 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/1.403, allocations: 6.328 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.403, allocations: 7.797 kB / 1.358 GB, free: 31.87 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001019/1.403, allocations: 111.4 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003887/1.403, allocations: 128.3 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/1.403, allocations: 0 / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/1.403, allocations: 11.94 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.403, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.403, allocations: 3.953 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.403, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/1.403, allocations: 167.3 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.403, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/1.404, allocations: 21.61 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.404, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/1.404, allocations: 3.094 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.404, allocations: 4 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.404, allocations: 3.984 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/1.404, allocations: 224 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/1.404, allocations: 85.02 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/1.404, allocations: 3.844 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.404, allocations: 6.703 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/1.404, allocations: 3.844 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/1.404, allocations: 7.125 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.603e-05/1.404, allocations: 93.94 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.404, allocations: 0 / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002606/1.405, allocations: 39.12 kB / 1.359 GB, free: 31.21 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008489/1.406, allocations: 0.7718 MB / 1.36 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001427/1.406, allocations: 53.95 kB / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.406, allocations: 0 / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/1.406, allocations: 25.16 kB / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/1.406, allocations: 8.969 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/1.406, allocations: 141.6 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/1.407, allocations: 0.6845 MB / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001232/1.407, allocations: 15.67 kB / 1.361 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/1.407, allocations: 18.16 kB / 1.361 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.407, allocations: 0 / 1.361 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/1.428, allocations: 1.492 MB / 1.362 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.428, allocations: 158.9 kB / 1.362 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.919, allocations: 0 / 1.362 GB, free: 29.38 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat does not exist to compare? outputFormat=mat