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.346/2.346, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001196/0.001196, allocations: 184.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009412/0.000941, allocations: 99.75 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.68e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7837/1.024, allocations: 159.7 MB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/1.024, allocations: 78.27 kB / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.109/1.133, allocations: 29.01 MB / 1.403 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/1.133, allocations: 0 / 1.403 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001258/1.133, allocations: 20 kB / 1.403 GB, free: 1.168 MB / 0.8542 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.001858/1.135, allocations: 0.9463 MB / 1.404 GB, free: 232 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.135, allocations: 8.031 kB / 1.404 GB, free: 224 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/1.135, allocations: 68.34 kB / 1.404 GB, free: 164 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/1.136, allocations: 102.8 kB / 1.404 GB, free: 60 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/1.139, allocations: 1.06 MB / 1.405 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/1.139, allocations: 37.41 kB / 1.405 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.139, allocations: 61.59 kB / 1.405 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/1.14, allocations: 398.9 kB / 1.406 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.14, allocations: 0 / 1.406 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/1.14, allocations: 15.38 kB / 1.406 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.14, allocations: 8 kB / 1.406 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/1.14, allocations: 222 kB / 1.406 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/1.144, allocations: 2.576 MB / 1.409 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.146, allocations: 0.5371 MB / 1.409 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/1.146, allocations: 151.4 kB / 1.409 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/1.146, allocations: 4 kB / 1.409 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/1.146, allocations: 38.23 kB / 1.409 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/1.146, allocations: 0 / 1.409 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0009861/1.147, allocations: 462.4 kB / 1.41 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/1.147, allocations: 55.34 kB / 1.41 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.148, allocations: 0.8145 MB / 1.411 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/1.148, allocations: 36.64 kB / 1.411 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/1.148, allocations: 366.8 kB / 1.411 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.148, allocations: 116.9 kB / 1.411 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/1.148, allocations: 14.12 kB / 1.411 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.149, allocations: 401.1 kB / 1.411 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/1.149, allocations: 231.3 kB / 1.412 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/1.15, allocations: 0.6246 MB / 1.412 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/1.15, allocations: 326.7 kB / 1.413 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.15, allocations: 4 kB / 1.413 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001534/1.152, allocations: 0.9943 MB / 1.414 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.152, allocations: 12 kB / 1.414 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.152, allocations: 20.06 kB / 1.414 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/1.152, allocations: 123.7 kB / 1.414 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/1.153, allocations: 191 kB / 1.414 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/1.156, allocations: 4.158 MB / 1.418 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.157, allocations: 131.8 kB / 1.418 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/1.157, allocations: 46.89 kB / 1.418 GB, free: 3.039 MB / 0.8698 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.0001528/1.157, allocations: 160.2 kB / 1.418 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/1.158, allocations: 86.88 kB / 1.418 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/1.158, allocations: 83.52 kB / 1.418 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.158, allocations: 7.875 kB / 1.418 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.158, allocations: 4 kB / 1.418 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.158, allocations: 0 / 1.418 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/1.159, allocations: 0.7118 MB / 1.419 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.159, allocations: 0 / 1.419 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/1.159, allocations: 63.58 kB / 1.419 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000295/1.159, allocations: 103.5 kB / 1.419 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/1.159, allocations: 11.86 kB / 1.419 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/1.162, allocations: 4.123 MB / 1.423 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.162, allocations: 0 / 1.423 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.164, allocations: 0.7134 MB / 1.424 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/1.164, allocations: 219.4 kB / 1.424 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.164, allocations: 11.61 kB / 1.424 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/1.165, allocations: 43.17 kB / 1.424 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/1.165, allocations: 27.45 kB / 1.424 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/1.165, allocations: 11.31 kB / 1.424 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008559/1.166, allocations: 0.6008 MB / 1.425 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/1.166, allocations: 0 / 1.425 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001017/1.167, allocations: 287.6 kB / 1.425 GB, free: 12.09 MB / 0.8855 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.001452/1.168, allocations: 1.335 MB / 1.426 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001369/1.17, allocations: 0.8975 MB / 1.427 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.17, allocations: 0 / 1.427 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/1.17, allocations: 0.5195 MB / 1.428 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/1.171, allocations: 159.5 kB / 1.428 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.174, allocations: 1.574 MB / 1.43 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/1.175, allocations: 1.012 MB / 1.431 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004778/1.175, allocations: 145.9 kB / 1.431 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/1.175, allocations: 280.3 kB / 1.431 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of SimCode: time 2.094e-06/1.175, allocations: 0 / 1.431 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/1.212, allocations: 18.05 MB / 1.449 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.213, allocations: 184.6 kB / 1.449 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.53, allocations: 0 / 1.449 GB, free: 4.723 MB / 0.9011 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