Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.479/2.479, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001394/0.001394, allocations: 187 kB / 0.4901 GB, free: 2.215 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.576/1.576, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001013/0.001013, allocations: 94.84 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 10.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3354, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.5373, allocations: 159.8 MB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5376, allocations: 83.95 kB / 1.385 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.6408, allocations: 28.98 MB / 1.414 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6409, allocations: 0 / 1.414 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000225/0.6411, allocations: 24 kB / 1.414 GB, free: 12.38 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.006619/0.6478, allocations: 1.577 MB / 1.415 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.6478, allocations: 8.562 kB / 1.415 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002838/0.6481, allocations: 82.53 kB / 1.415 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.649, allocations: 130.4 kB / 1.415 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/0.6538, allocations: 1.545 MB / 1.417 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.6539, allocations: 41 kB / 1.417 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.6541, allocations: 75.84 kB / 1.417 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.6552, allocations: 0.6567 MB / 1.418 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.6552, allocations: 0 / 1.418 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.6553, allocations: 23.94 kB / 1.418 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.6553, allocations: 12 kB / 1.418 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.6563, allocations: 0.6322 MB / 1.418 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005113/0.6615, allocations: 2.754 MB / 1.421 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.6631, allocations: 0.9148 MB / 1.422 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.6632, allocations: 28.34 kB / 1.422 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6632, allocations: 38.92 kB / 1.422 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.6632, allocations: 4 kB / 1.422 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45): time 0.002159/0.6654, allocations: 1.304 MB / 1.423 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.6654, allocations: 55.41 kB / 1.423 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.6671, allocations: 1.049 MB / 1.424 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.6672, allocations: 41.7 kB / 1.424 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.6676, allocations: 460.7 kB / 1.425 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.6678, allocations: 169.6 kB / 1.425 GB, free: 460 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.6678, allocations: 20 kB / 1.425 GB, free: 440 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.668, allocations: 353.9 kB / 1.425 GB, free: 80 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7043/1.372, allocations: 0.5408 MB / 1.426 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.373, allocations: 0.8788 MB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/1.374, allocations: 0.6467 MB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.374, allocations: 5.656 kB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002657/1.377, allocations: 1.6 MB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/1.377, allocations: 8.938 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/1.377, allocations: 13.66 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/1.377, allocations: 48.14 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.379, allocations: 372.8 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/1.383, allocations: 6.828 MB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.385, allocations: 155.6 kB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.385, allocations: 61.84 kB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0006568/1.386, allocations: 310.9 kB / 1.437 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.386, allocations: 112.7 kB / 1.437 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/1.388, allocations: 1.017 MB / 1.438 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.388, allocations: 7.906 kB / 1.438 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.388, allocations: 2.406 kB / 1.438 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.388, allocations: 3.969 kB / 1.438 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.39, allocations: 0.9654 MB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.39, allocations: 0 / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/1.39, allocations: 124.8 kB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/1.391, allocations: 34.08 kB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/1.391, allocations: 22.52 kB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008933/1.392, allocations: 1.34 MB / 1.44 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.392, allocations: 1.156 kB / 1.44 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/1.394, allocations: 1.524 MB / 1.442 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/1.395, allocations: 372.1 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/1.395, allocations: 16.06 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008773/1.396, allocations: 49.8 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.396, allocations: 34.84 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/1.396, allocations: 36.67 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001439/1.398, allocations: 0.7814 MB / 1.443 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.8e-07/1.398, allocations: 0 / 1.443 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001784/1.4, allocations: 378.8 kB / 1.443 GB, free: 167.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.003011/1.403, allocations: 2.087 MB / 1.445 GB, free: 166.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003109/1.406, allocations: 1.535 MB / 1.447 GB, free: 166.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.406, allocations: 0 / 1.447 GB, free: 166.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006748/1.406, allocations: 484.4 kB / 1.447 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.408, allocations: 217.8 kB / 1.447 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/1.415, allocations: 10.69 MB / 1.458 GB, free: 157.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.416, allocations: 1.131 MB / 1.459 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009903/1.417, allocations: 210.8 kB / 1.459 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/1.418, allocations: 399.6 kB / 1.459 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.503e-06/1.418, allocations: 3.828 kB / 1.46 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/1.476, allocations: 24.1 MB / 1.483 GB, free: 153.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.476, allocations: 215.5 kB / 1.483 GB, free: 153.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.483, allocations: 0 / 1.483 GB, free: 153.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat does not exist to compare? outputFormat=mat