Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11 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.001603/0.001603, allocations: 194.5 kB / 0.4901 GB, free: 2.254 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.772/1.772, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001085/0.001085, allocations: 94.28 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004431, allocations: 10.5 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3025, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.5296, allocations: 162.8 MB / 1.388 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5299, allocations: 83.95 kB / 1.388 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.664/1.194, allocations: 28.48 MB / 1.416 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.174e-06/1.194, allocations: 0 / 1.416 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.614e-05/1.194, allocations: 16.97 kB / 1.416 GB, free: 167.7 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.003057/1.197, allocations: 1.198 MB / 1.417 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.197, allocations: 10.86 kB / 1.417 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.875e-05/1.197, allocations: 59 kB / 1.417 GB, free: 167 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/1.198, allocations: 77.41 kB / 1.417 GB, free: 167 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/1.2, allocations: 1.256 MB / 1.419 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/1.2, allocations: 32.36 kB / 1.419 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/1.201, allocations: 41.28 kB / 1.419 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/1.201, allocations: 366.8 kB / 1.419 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.201, allocations: 7.203 kB / 1.419 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/1.201, allocations: 11.12 kB / 1.419 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.201, allocations: 5.281 kB / 1.419 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/1.202, allocations: 233.4 kB / 1.419 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/1.205, allocations: 2.089 MB / 1.421 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.206, allocations: 400.6 kB / 1.422 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/1.206, allocations: 2.562 kB / 1.422 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/1.206, allocations: 32.77 kB / 1.422 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/1.206, allocations: 4 kB / 1.422 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.001061/1.207, allocations: 0.5414 MB / 1.422 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/1.207, allocations: 53.75 kB / 1.422 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.208, allocations: 0.9135 MB / 1.423 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/1.209, allocations: 36.27 kB / 1.423 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/1.209, allocations: 302.3 kB / 1.424 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/1.209, allocations: 73.06 kB / 1.424 GB, free: 165 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/1.209, allocations: 10.5 kB / 1.424 GB, free: 165 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.209, allocations: 378 kB / 1.424 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/1.209, allocations: 231.3 kB / 1.424 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/1.21, allocations: 0.4957 MB / 1.425 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/1.21, allocations: 310.4 kB / 1.425 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.21, allocations: 2.75 kB / 1.425 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00121/1.212, allocations: 0.8027 MB / 1.426 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.212, allocations: 13.8 kB / 1.426 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.212, allocations: 9.438 kB / 1.426 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/1.212, allocations: 51.28 kB / 1.426 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/1.212, allocations: 140.1 kB / 1.426 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009721/1.213, allocations: 1.451 MB / 1.427 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.214, allocations: 206.7 kB / 1.428 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/1.214, allocations: 27.09 kB / 1.428 GB, free: 162.9 MB / 0.9011 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.000434/1.215, allocations: 342 kB / 1.428 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.215, allocations: 61.7 kB / 1.428 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.215, allocations: 70.23 kB / 1.428 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.215, allocations: 5.438 kB / 1.428 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.215, allocations: 0 / 1.428 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.215, allocations: 5 kB / 1.428 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/1.216, allocations: 0.672 MB / 1.429 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.216, allocations: 1.031 kB / 1.429 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/1.216, allocations: 46.05 kB / 1.429 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/1.216, allocations: 47.28 kB / 1.429 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/1.216, allocations: 12.11 kB / 1.429 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007669/1.217, allocations: 1.428 MB / 1.43 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.217, allocations: 1.312 kB / 1.43 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/1.218, allocations: 0.5667 MB / 1.431 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/1.218, allocations: 355.6 kB / 1.431 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/1.218, allocations: 9.906 kB / 1.431 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/1.219, allocations: 100.3 kB / 1.431 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/1.219, allocations: 9.672 kB / 1.431 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.219, allocations: 2.312 kB / 1.431 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008612/1.22, allocations: 0.7026 MB / 1.432 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.22, allocations: 3.938 kB / 1.432 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007382/1.221, allocations: 194.6 kB / 1.432 GB, free: 160.6 MB / 0.9011 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.001011/1.222, allocations: 1.194 MB / 1.433 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008928/1.223, allocations: 0.566 MB / 1.434 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.223, allocations: 3.938 kB / 1.434 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/1.223, allocations: 247.1 kB / 1.434 GB, free: 159.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/1.224, allocations: 165.9 kB / 1.434 GB, free: 159.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/1.227, allocations: 8.596 MB / 1.443 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/1.228, allocations: 1.014 MB / 1.444 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005054/1.228, allocations: 181.6 kB / 1.444 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/1.229, allocations: 207.5 kB / 1.444 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of SimCode: time 7.52e-07/1.229, allocations: 0 / 1.444 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/1.262, allocations: 15.51 MB / 1.459 GB, free: 146.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/1.263, allocations: 204.3 kB / 1.459 GB, free: 146.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.668, allocations: 0 / 1.459 GB, free: 146.1 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat