Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.165/2.165, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001158/0.001158, allocations: 188.6 kB / 487.4 MB, free: 5.078 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.537/1.537, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0009873/0.000987, allocations: 91.91 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.568e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2658, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8788/1.145, allocations: 161.2 MB / 1.363 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.145, allocations: 77.97 kB / 1.364 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08187/1.227, allocations: 27.83 MB / 1.391 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.81e-07/1.227, allocations: 4 kB / 1.391 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.036e-05/1.227, allocations: 15.53 kB / 1.391 GB, free: 27.15 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001049/1.228, allocations: 0.8353 MB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.228, allocations: 11.53 kB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.228, allocations: 77.09 kB / 1.392 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/1.23, allocations: 1.222 MB / 1.393 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.23, allocations: 11.41 kB / 1.393 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/1.23, allocations: 26.64 kB / 1.393 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002742/1.23, allocations: 199.4 kB / 1.393 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/1.231, allocations: 319.2 kB / 1.393 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.231, allocations: 3.938 kB / 1.393 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.231, allocations: 4 kB / 1.393 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.231, allocations: 7.625 kB / 1.393 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/1.233, allocations: 2.018 MB / 1.395 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/1.234, allocations: 376.2 kB / 1.396 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/1.234, allocations: 127 kB / 1.396 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.234, allocations: 7.844 kB / 1.396 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/1.234, allocations: 37.75 kB / 1.396 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/1.234, allocations: 0 / 1.396 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0004506/1.234, allocations: 323 kB / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/1.234, allocations: 55.25 kB / 1.396 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/1.235, allocations: 0.8571 MB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/1.235, allocations: 29.64 kB / 1.397 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/1.235, allocations: 296.1 kB / 1.397 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/1.235, allocations: 72.56 kB / 1.397 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/1.235, allocations: 0 / 1.397 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.236, allocations: 380.9 kB / 1.398 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/1.236, allocations: 213.6 kB / 1.398 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.236, allocations: 484 kB / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/1.236, allocations: 284.2 kB / 1.399 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.236, allocations: 3.906 kB / 1.399 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007845/1.237, allocations: 0.72 MB / 1.399 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.237, allocations: 7.688 kB / 1.399 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.237, allocations: 11.47 kB / 1.399 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/1.237, allocations: 54.27 kB / 1.4 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/1.238, allocations: 141 kB / 1.4 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/1.239, allocations: 1.42 MB / 1.401 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/1.24, allocations: 190.5 kB / 1.401 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/1.24, allocations: 25.78 kB / 1.401 GB, free: 21.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/1.24, allocations: 123.8 kB / 1.401 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000352/1.24, allocations: 330.7 kB / 1.402 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/1.24, allocations: 58.16 kB / 1.402 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.24, allocations: 63.52 kB / 1.402 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.24, allocations: 3.844 kB / 1.402 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/1.24, allocations: 0 / 1.402 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/1.24, allocations: 0 / 1.402 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/1.241, allocations: 0.6236 MB / 1.402 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.241, allocations: 0 / 1.402 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/1.241, allocations: 53.52 kB / 1.402 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/1.241, allocations: 42.83 kB / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/1.241, allocations: 7.828 kB / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008179/1.242, allocations: 1.407 MB / 1.404 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.242, allocations: 0 / 1.404 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/1.243, allocations: 0.5392 MB / 1.404 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/1.243, allocations: 348.9 kB / 1.405 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/1.243, allocations: 10.77 kB / 1.405 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/1.243, allocations: 81.95 kB / 1.405 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/1.244, allocations: 15.69 kB / 1.405 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.244, allocations: 0 / 1.405 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005817/1.244, allocations: 0.6441 MB / 1.405 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.244, allocations: 0 / 1.405 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005876/1.245, allocations: 200.8 kB / 1.406 GB, free: 18.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008157/1.246, allocations: 1.158 MB / 1.407 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006142/1.246, allocations: 0.5261 MB / 1.407 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.246, allocations: 0 / 1.407 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/1.246, allocations: 227.7 kB / 1.408 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/1.247, allocations: 158.8 kB / 1.408 GB, free: 17.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/1.249, allocations: 1.397 MB / 1.409 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/1.249, allocations: 1.031 MB / 1.41 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003586/1.25, allocations: 181.6 kB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.25, allocations: 202.9 kB / 1.41 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.25, allocations: 0 / 1.41 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/1.283, allocations: 13.24 MB / 1.423 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.283, allocations: 143.3 kB / 1.424 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/3.393, allocations: 4 kB / 1.424 GB, free: 2.207 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat