Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.17/2.17, allocations: 390.5 MB / 398 MB, free: 10.93 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.0009864/0.0009864, allocations: 179.7 kB / 491.2 MB, free: 1.57 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.323/1.323, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0008601/0.0008601, allocations: 87.98 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.736e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7491/0.9726, allocations: 162 MB / 1.371 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.9729, allocations: 74.45 kB / 1.371 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1186/1.092, allocations: 27.85 MB / 1.398 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.993e-06/1.092, allocations: 3.938 kB / 1.398 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.818e-05/1.092, allocations: 15.5 kB / 1.398 GB, free: 25.42 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.001828/1.093, allocations: 0.8309 MB / 1.399 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.094, allocations: 7.5 kB / 1.399 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/1.094, allocations: 77.5 kB / 1.399 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/1.097, allocations: 1.225 MB / 1.4 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.097, allocations: 11.58 kB / 1.4 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/1.097, allocations: 26.38 kB / 1.4 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004317/1.098, allocations: 199.5 kB / 1.4 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/1.098, allocations: 321.1 kB / 1.401 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.098, allocations: 4 kB / 1.401 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/1.098, allocations: 0 / 1.401 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.098, allocations: 11.59 kB / 1.401 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/1.102, allocations: 2.015 MB / 1.403 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.103, allocations: 378.5 kB / 1.403 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/1.103, allocations: 135 kB / 1.403 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/1.103, allocations: 0 / 1.403 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/1.103, allocations: 34.56 kB / 1.403 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 3.757e-06/1.103, allocations: 0 / 1.403 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007457/1.104, allocations: 327.8 kB / 1.403 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/1.104, allocations: 55.41 kB / 1.403 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.106, allocations: 0.8594 MB / 1.404 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/1.106, allocations: 33.69 kB / 1.404 GB, free: 21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/1.106, allocations: 290.8 kB / 1.405 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/1.106, allocations: 69.52 kB / 1.405 GB, free: 20.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/1.106, allocations: 0 / 1.405 GB, free: 20.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.106, allocations: 376.2 kB / 1.405 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/1.107, allocations: 211.1 kB / 1.405 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/1.107, allocations: 483 kB / 1.406 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/1.108, allocations: 286.8 kB / 1.406 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.108, allocations: 4 kB / 1.406 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001445/1.109, allocations: 0.7172 MB / 1.407 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.109, allocations: 8 kB / 1.407 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.109, allocations: 12 kB / 1.407 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/1.109, allocations: 59.94 kB / 1.407 GB, free: 18.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/1.11, allocations: 138.6 kB / 1.407 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/1.111, allocations: 1.42 MB / 1.408 GB, free: 17.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.113, allocations: 183.2 kB / 1.408 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/1.113, allocations: 30.06 kB / 1.408 GB, free: 17.04 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 0.0001557/1.113, allocations: 124.6 kB / 1.409 GB, free: 16.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006329/1.114, allocations: 333.6 kB / 1.409 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/1.114, allocations: 59.25 kB / 1.409 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/1.114, allocations: 66.58 kB / 1.409 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.114, allocations: 0 / 1.409 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.114, allocations: 4 kB / 1.409 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.114, allocations: 0 / 1.409 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000978/1.115, allocations: 0.6183 MB / 1.41 GB, free: 16.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.115, allocations: 3.984 kB / 1.41 GB, free: 16.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/1.116, allocations: 43.97 kB / 1.41 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/1.116, allocations: 51.06 kB / 1.41 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/1.116, allocations: 6.688 kB / 1.41 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/1.117, allocations: 1.413 MB / 1.411 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.117, allocations: 0 / 1.411 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/1.118, allocations: 0.5306 MB / 1.412 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/1.118, allocations: 352.2 kB / 1.412 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.119, allocations: 12.02 kB / 1.412 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009147/1.12, allocations: 83.84 kB / 1.412 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/1.12, allocations: 11.98 kB / 1.412 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/1.12, allocations: 7.875 kB / 1.412 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001272/1.121, allocations: 0.6458 MB / 1.413 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.51e-07/1.121, allocations: 0 / 1.413 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001168/1.122, allocations: 187.8 kB / 1.413 GB, free: 12.94 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.001492/1.124, allocations: 1.149 MB / 1.414 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001132/1.125, allocations: 0.5274 MB / 1.414 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.125, allocations: 0 / 1.414 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/1.125, allocations: 231.6 kB / 1.415 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.126, allocations: 152.5 kB / 1.415 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/1.13, allocations: 1.402 MB / 1.416 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/1.131, allocations: 1.031 MB / 1.417 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007108/1.132, allocations: 184.4 kB / 1.417 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/1.132, allocations: 200.6 kB / 1.418 GB, free: 8.582 MB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/1.132, allocations: 4 kB / 1.418 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/1.171, allocations: 13.24 MB / 1.431 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.171, allocations: 145.2 kB / 1.431 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/3.24, allocations: 0 / 1.431 GB, free: 11.28 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat