Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001374/0.001374, allocations: 195.9 kB / 0.4901 GB, free: 2.262 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.624/1.624, 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.0009425/0.0009423, allocations: 102.9 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 7.625 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3415, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/0.5591, allocations: 162.7 MB / 1.388 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.5595, allocations: 79.95 kB / 1.388 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09826/0.6578, allocations: 28.47 MB / 1.416 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6578, allocations: 4 kB / 1.416 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.992e-05/0.6579, allocations: 11.98 kB / 1.416 GB, free: 10.12 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003743/0.6617, allocations: 1.188 MB / 1.417 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6618, allocations: 20.5 kB / 1.417 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.6619, allocations: 58.55 kB / 1.417 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.6623, allocations: 75.06 kB / 1.417 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.6657, allocations: 1.253 MB / 1.419 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.6658, allocations: 36.52 kB / 1.419 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6659, allocations: 40 kB / 1.419 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.6665, allocations: 370.7 kB / 1.419 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6665, allocations: 3.938 kB / 1.419 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.6666, allocations: 8 kB / 1.419 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.6666, allocations: 8 kB / 1.419 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.667, allocations: 241.5 kB / 1.419 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.6705, allocations: 2.082 MB / 1.421 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6716, allocations: 398.5 kB / 1.422 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.6716, allocations: 4 kB / 1.422 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6717, allocations: 34.83 kB / 1.422 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 3.526e-06/0.6717, allocations: 0 / 1.422 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001147/0.6728, allocations: 0.55 MB / 1.422 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.6729, allocations: 55.41 kB / 1.422 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.6744, allocations: 0.9133 MB / 1.423 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.6745, allocations: 33.7 kB / 1.423 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.6748, allocations: 300.4 kB / 1.424 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6749, allocations: 78.94 kB / 1.424 GB, free: 2.086 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.675, allocations: 8 kB / 1.424 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.6752, allocations: 382.8 kB / 1.424 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.6756, allocations: 232.9 kB / 1.424 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.6762, allocations: 0.4933 MB / 1.425 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.6767, allocations: 307.7 kB / 1.425 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.6767, allocations: 0 / 1.425 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.6594/1.336, allocations: 0.7979 MB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/1.336, allocations: 12.47 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.336, allocations: 10.06 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/1.337, allocations: 54.44 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/1.337, allocations: 139.9 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/1.338, allocations: 1.454 MB / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.34, allocations: 196.8 kB / 1.428 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/1.34, allocations: 32 kB / 1.428 GB, free: 179.5 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.0005398/1.34, allocations: 339.6 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/1.341, allocations: 59.28 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.341, allocations: 69.69 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.341, allocations: 3 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.341, allocations: 0.8125 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.341, allocations: 3.25 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/1.342, allocations: 0.6772 MB / 1.429 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.342, allocations: 0 / 1.429 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.342, allocations: 45.97 kB / 1.429 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/1.342, allocations: 44.61 kB / 1.429 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.342, allocations: 9.5 kB / 1.429 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009102/1.343, allocations: 1.431 MB / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.343, allocations: 0 / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/1.344, allocations: 0.5722 MB / 1.431 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/1.345, allocations: 351.4 kB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.345, allocations: 8.719 kB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/1.345, allocations: 90.73 kB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/1.346, allocations: 13.92 kB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.346, allocations: 7.719 kB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001006/1.347, allocations: 0.6989 MB / 1.432 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.41e-07/1.347, allocations: 0 / 1.432 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007723/1.347, allocations: 188.3 kB / 1.432 GB, free: 177.4 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.001205/1.349, allocations: 1.192 MB / 1.433 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.35, allocations: 0.5695 MB / 1.434 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.35, allocations: 3.75 kB / 1.434 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/1.35, allocations: 252 kB / 1.434 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/1.351, allocations: 162 kB / 1.434 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/1.355, allocations: 8.592 MB / 1.443 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/1.356, allocations: 1.02 MB / 1.444 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005552/1.356, allocations: 186.9 kB / 1.444 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/1.357, allocations: 208.9 kB / 1.444 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.633e-06/1.357, allocations: 0 / 1.444 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/1.394, allocations: 15.5 MB / 1.459 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.395, allocations: 200.1 kB / 1.459 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.85, allocations: 3.75 kB / 1.459 GB, free: 167.4 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat