Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.088/2.088, 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.001342/0.001342, allocations: 176.9 kB / 491.2 MB, free: 1.551 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.389/1.389, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.000867/0.0008671, allocations: 95.52 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.7e-05, allocations: 5.641 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2484, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7591/1.008, allocations: 159 MB / 1.368 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/1.008, allocations: 82.03 kB / 1.368 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09568/1.103, allocations: 28.39 MB / 1.395 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/1.103, allocations: 7.938 kB / 1.395 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.745e-05/1.104, allocations: 19.41 kB / 1.395 GB, free: 25.48 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001255/1.105, allocations: 0.9358 MB / 1.396 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.105, allocations: 11.69 kB / 1.396 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/1.105, allocations: 100.2 kB / 1.397 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/1.107, allocations: 1.05 MB / 1.398 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.107, allocations: 15.52 kB / 1.398 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/1.107, allocations: 38.66 kB / 1.398 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003029/1.107, allocations: 187.8 kB / 1.398 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/1.108, allocations: 359.4 kB / 1.398 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.108, allocations: 0 / 1.398 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/1.108, allocations: 4.5 kB / 1.398 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.108, allocations: 7.688 kB / 1.398 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/1.11, allocations: 2.488 MB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/1.112, allocations: 0.53 MB / 1.401 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/1.112, allocations: 149 kB / 1.401 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.112, allocations: 7.875 kB / 1.401 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/1.112, allocations: 37.81 kB / 1.401 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.532e-06/1.112, allocations: 0 / 1.401 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0006518/1.112, allocations: 431.5 kB / 1.402 GB, free: 21.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/1.112, allocations: 55.25 kB / 1.402 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/1.113, allocations: 0.7527 MB / 1.402 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/1.113, allocations: 29.7 kB / 1.402 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.113, allocations: 364 kB / 1.403 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/1.113, allocations: 108.3 kB / 1.403 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/1.114, allocations: 0 / 1.403 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.114, allocations: 392.5 kB / 1.403 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/1.114, allocations: 217.1 kB / 1.404 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/1.114, allocations: 0.6103 MB / 1.404 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/1.115, allocations: 321.1 kB / 1.404 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.115, allocations: 4 kB / 1.404 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001068/1.116, allocations: 0.8854 MB / 1.405 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.116, allocations: 12 kB / 1.405 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.116, allocations: 12 kB / 1.405 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/1.116, allocations: 123 kB / 1.405 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/1.117, allocations: 193.3 kB / 1.406 GB, free: 18.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/1.119, allocations: 4.027 MB / 1.41 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.12, allocations: 131 kB / 1.41 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/1.12, allocations: 43.56 kB / 1.41 GB, free: 14.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.12, allocations: 132.6 kB / 1.41 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005296/1.121, allocations: 428.5 kB / 1.41 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/1.121, allocations: 90.84 kB / 1.41 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/1.121, allocations: 78.67 kB / 1.41 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.121, allocations: 0 / 1.41 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.121, allocations: 4 kB / 1.41 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.121, allocations: 0 / 1.41 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/1.122, allocations: 0.6575 MB / 1.411 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.122, allocations: 0 / 1.411 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/1.122, allocations: 63.94 kB / 1.411 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/1.122, allocations: 110.1 kB / 1.411 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/1.122, allocations: 7.875 kB / 1.411 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/1.125, allocations: 4.009 MB / 1.415 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.125, allocations: 0 / 1.415 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/1.125, allocations: 0.6826 MB / 1.416 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/1.126, allocations: 218.8 kB / 1.416 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/1.126, allocations: 7.938 kB / 1.416 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/1.126, allocations: 35.94 kB / 1.416 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/1.127, allocations: 31.8 kB / 1.416 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/1.127, allocations: 7.812 kB / 1.416 GB, free: 7.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005736/1.127, allocations: 0.5511 MB / 1.417 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.61e-07/1.127, allocations: 0 / 1.417 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00086/1.128, allocations: 287.7 kB / 1.417 GB, free: 7.254 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/1.129, allocations: 1.295 MB / 1.418 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.13, allocations: 0.8345 MB / 1.419 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.13, allocations: 0.625 kB / 1.419 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/1.131, allocations: 0.4915 MB / 1.419 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/1.131, allocations: 149.4 kB / 1.42 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/1.134, allocations: 1.534 MB / 1.421 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.134, allocations: 1.005 MB / 1.422 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003791/1.135, allocations: 153.6 kB / 1.422 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/1.135, allocations: 275 kB / 1.422 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.135, allocations: 0 / 1.422 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/1.17, allocations: 15.42 MB / 1.438 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.171, allocations: 143.5 kB / 1.438 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/3.318, allocations: 0 / 1.438 GB, free: 2.574 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat does not exist to compare? outputFormat=mat