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.201/2.201, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001105/0.001105, allocations: 179.3 kB / 498.1 MB, free: 5.723 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.433/1.433, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009458/0.000946, allocations: 92.34 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 9.938 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.5198, allocations: 162 MB / 1.381 GB, free: 68 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5201, allocations: 87.89 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09431/0.6145, allocations: 28.47 MB / 1.409 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6145, allocations: 4 kB / 1.409 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001123/0.6146, allocations: 12 kB / 1.409 GB, free: 3.355 MB / 0.9011 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.003709/0.6184, allocations: 1.191 MB / 1.41 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6184, allocations: 12.03 kB / 1.41 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.6186, allocations: 62.47 kB / 1.41 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.619, allocations: 75.16 kB / 1.41 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.6221, allocations: 1.257 MB / 1.412 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.6222, allocations: 32.52 kB / 1.412 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.6223, allocations: 39.91 kB / 1.412 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.6229, allocations: 370.7 kB / 1.412 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6229, allocations: 0 / 1.412 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.6229, allocations: 12 kB / 1.412 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6229, allocations: 4 kB / 1.412 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.6234, allocations: 241.5 kB / 1.412 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.6266, allocations: 2.089 MB / 1.414 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.6276, allocations: 394.5 kB / 1.415 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.6276, allocations: 8 kB / 1.415 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.6277, allocations: 34.52 kB / 1.415 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.6277, allocations: 0 / 1.415 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.6287, allocations: 0.5402 MB / 1.415 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6288, allocations: 55.41 kB / 1.415 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.6301, allocations: 0.9171 MB / 1.416 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.6302, allocations: 33.7 kB / 1.416 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.6305, allocations: 296.6 kB / 1.416 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.6306, allocations: 74.94 kB / 1.417 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.6306, allocations: 8 kB / 1.417 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6308, allocations: 382.8 kB / 1.417 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6312, allocations: 232.9 kB / 1.417 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.6317, allocations: 0.4975 MB / 1.418 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.6322, allocations: 309.7 kB / 1.418 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.6322, allocations: 0 / 1.418 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00127/0.6335, allocations: 0.8058 MB / 1.419 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.6335, allocations: 8 kB / 1.419 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6336, allocations: 12 kB / 1.419 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.6338, allocations: 53.19 kB / 1.419 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.6343, allocations: 139.8 kB / 1.419 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.6355, allocations: 1.455 MB / 1.42 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.6366, allocations: 195.1 kB / 1.42 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.6366, allocations: 28 kB / 1.421 GB, free: 6.953 MB / 0.9167 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 () * Number of clocked 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 0.0004096/0.637, allocations: 350.9 kB / 1.421 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.6372, allocations: 59.25 kB / 1.421 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.6373, allocations: 70.19 kB / 1.421 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6373, allocations: 0 / 1.421 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6373, allocations: 4 kB / 1.421 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6374, allocations: 3.984 kB / 1.421 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.6382, allocations: 0.6726 MB / 1.422 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6382, allocations: 3.938 kB / 1.422 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.6384, allocations: 47.95 kB / 1.422 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.6386, allocations: 48.77 kB / 1.422 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.6386, allocations: 11.98 kB / 1.422 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.6397, allocations: 1.436 MB / 1.423 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6397, allocations: 0 / 1.423 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.6405, allocations: 0.5631 MB / 1.424 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.6409, allocations: 348.3 kB / 1.424 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.641, allocations: 16.17 kB / 1.424 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.6416, allocations: 87.78 kB / 1.424 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.6417, allocations: 15.98 kB / 1.424 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.6417, allocations: 0 / 1.424 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009281/0.6426, allocations: 0.698 MB / 1.425 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6426, allocations: 0 / 1.425 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007658/0.6434, allocations: 199.7 kB / 1.425 GB, free: 2.086 MB / 0.9167 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 () * Number of clocked 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.001226/0.6447, allocations: 1.177 MB / 1.426 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009145/0.6456, allocations: 0.5705 MB / 1.427 GB, free: 304 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6456, allocations: 0 / 1.427 GB, free: 304 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.6459, allocations: 256.3 kB / 1.427 GB, free: 36 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5499/1.196, allocations: 152.4 kB / 1.427 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/1.2, allocations: 8.601 MB / 1.436 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/1.201, allocations: 1.018 MB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005975/1.202, allocations: 184.2 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/1.202, allocations: 205.5 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of SimCode: time 2.124e-06/1.202, allocations: 0 / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/1.245, allocations: 15.49 MB / 1.452 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.245, allocations: 208.7 kB / 1.452 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.546, allocations: 4 kB / 1.452 GB, free: 179.4 MB / 0.9167 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