Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 96.48 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7704/0.7704, allocations: 120.5 MB / 463 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003418, allocations: 12 kB / 0.5447 GB, free: 41.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 82.84 MB / 0.6256 GB, free: 7.797 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6179/0.7504, allocations: 125.9 MB / 0.7486 GB, free: 8.273 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.7507, allocations: 66.14 kB / 0.7486 GB, free: 8.238 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02083/0.7715, allocations: 6.754 MB / 0.7552 GB, free: 2.145 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7715, allocations: 0 / 0.7552 GB, free: 2.145 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.7716, allocations: 8 kB / 0.7552 GB, free: 2.137 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001896/0.7735, allocations: 0.8638 MB / 0.7561 GB, free: 1.25 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7735, allocations: 8.031 kB / 0.7561 GB, free: 1.242 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.7737, allocations: 85.61 kB / 0.7562 GB, free: 1.176 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.7738, allocations: 43.53 kB / 0.7562 GB, free: 1.133 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.7746, allocations: 454.3 kB / 0.7567 GB, free: 0.6602 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.7746, allocations: 32.69 kB / 0.7567 GB, free: 0.6406 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.7747, allocations: 51.34 kB / 0.7567 GB, free: 0.6055 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/0.7757, allocations: 0.5812 MB / 0.7573 GB, free: 156 kB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7757, allocations: 0 / 0.7573 GB, free: 156 kB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.7757, allocations: 19.5 kB / 0.7573 GB, free: 148 kB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.7758, allocations: 15.95 kB / 0.7573 GB, free: 132 kB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.7767, allocations: 0.5881 MB / 0.7579 GB, free: 15.65 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.7775, allocations: 0.6159 MB / 0.7585 GB, free: 15.09 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.7806, allocations: 1.355 MB / 0.7598 GB, free: 14.03 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.7808, allocations: 105.9 kB / 0.7599 GB, free: 13.91 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.7808, allocations: 47.31 kB / 0.76 GB, free: 13.87 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.7808, allocations: 3.938 kB / 0.76 GB, free: 13.86 MB / 0.5263 GB Notification: Performance of matching and sorting (n=103): time 0.001974/0.7828, allocations: 1.348 MB / 0.7613 GB, free: 12.82 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.7829, allocations: 68.52 kB / 0.7614 GB, free: 12.75 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.783, allocations: 157.3 kB / 0.7615 GB, free: 12.6 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.7831, allocations: 40.89 kB / 0.7616 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.7832, allocations: 109.6 kB / 0.7617 GB, free: 12.47 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.7835, allocations: 403.8 kB / 0.762 GB, free: 12.13 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.7836, allocations: 23.44 kB / 0.7621 GB, free: 12.12 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7837, allocations: 366.1 kB / 0.7624 GB, free: 11.78 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.7844, allocations: 473.1 kB / 0.7629 GB, free: 11.43 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.785, allocations: 478.6 kB / 0.7633 GB, free: 11.08 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.7857, allocations: 0.547 MB / 0.7639 GB, free: 10.69 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7858, allocations: 0 / 0.7639 GB, free: 10.69 MB / 0.5263 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001663/0.7874, allocations: 1.23 MB / 0.7651 GB, free: 9.754 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7875, allocations: 7.984 kB / 0.7651 GB, free: 9.746 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7875, allocations: 0 / 0.7651 GB, free: 9.746 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.7875, allocations: 11.94 kB / 0.7651 GB, free: 9.734 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.789, allocations: 283.3 kB / 0.7653 GB, free: 9.469 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.789, allocations: 8 kB / 0.7654 GB, free: 9.461 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.7894, allocations: 74.64 kB / 0.7654 GB, free: 9.402 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/0.7895, allocations: 46.61 kB / 0.7655 GB, free: 9.371 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (144): * Single equations (assignments): 144 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.7898, allocations: 208.4 kB / 0.7657 GB, free: 9.188 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.7899, allocations: 43.53 kB / 0.7657 GB, free: 9.145 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.792, allocations: 1.397 MB / 0.7671 GB, free: 8.133 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.792, allocations: 16 kB / 0.7671 GB, free: 8.117 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.792, allocations: 0 / 0.7671 GB, free: 8.117 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.792, allocations: 7.969 kB / 0.7671 GB, free: 8.109 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008711/0.7929, allocations: 0.745 MB / 0.7678 GB, free: 7.449 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7929, allocations: 0 / 0.7678 GB, free: 7.449 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.7947, allocations: 318.5 kB / 0.7681 GB, free: 7.148 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.7947, allocations: 4 kB / 0.7681 GB, free: 7.145 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.7948, allocations: 47.58 kB / 0.7682 GB, free: 7.113 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.7949, allocations: 8 kB / 0.7682 GB, free: 7.105 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7949, allocations: 0 / 0.7682 GB, free: 7.105 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.7973, allocations: 1.847 MB / 0.77 GB, free: 5.715 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.7977, allocations: 255.5 kB / 0.7702 GB, free: 5.457 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.7978, allocations: 39.59 kB / 0.7703 GB, free: 5.434 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.7982, allocations: 26.81 kB / 0.7703 GB, free: 5.426 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.7983, allocations: 88.88 kB / 0.7704 GB, free: 5.348 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.7984, allocations: 39.61 kB / 0.7704 GB, free: 5.316 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 9.431e-05/0.7985, allocations: 126.2 kB / 0.7705 GB, free: 5.203 MB / 0.5263 GB Notification: Performance of sort global known variables: time 3.316e-06/0.7985, allocations: 0 / 0.7705 GB, free: 5.203 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0005258/0.799, allocations: 254.8 kB / 0.7708 GB, free: 4.992 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002962/0.802, allocations: 2.443 MB / 0.7732 GB, free: 3.012 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.8036, allocations: 1.138 MB / 0.7743 GB, free: 2.125 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8036, allocations: 4 kB / 0.7743 GB, free: 2.121 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.8044, allocations: 0.6304 MB / 0.7749 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.8048, allocations: 79.08 kB / 0.775 GB, free: 1.586 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/0.8126, allocations: 6.238 MB / 0.7811 GB, free: 12.1 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.8131, allocations: 0.9399 MB / 0.782 GB, free: 11.13 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0009041/0.8141, allocations: 376.8 kB / 0.7823 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.8145, allocations: 234 kB / 0.7826 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of SimCode: time 6.81e-07/0.8145, allocations: 0 / 0.7826 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.8456, allocations: 14.99 MB / 0.7972 GB, free: 11.93 MB / 0.5575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.8458, allocations: 208.1 kB / 0.7974 GB, free: 11.7 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.153, allocations: 0 / 0.7974 GB, free: 11.7 MB / 0.5575 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat does not exist to compare? outputFormat=mat