Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",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.001601/0.001601, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.282/1.282, allocations: 221.4 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 102 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9637/0.9637, allocations: 120.5 MB / 457.8 MB, free: 7.066 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.578e-05, allocations: 0 / 0.5368 GB, free: 11.13 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.572, allocations: 82.84 MB / 0.6177 GB, free: 9.281 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.7385, allocations: 125.8 MB / 0.7406 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.7387, allocations: 59.83 kB / 0.7406 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.7522, allocations: 4.077 MB / 0.7446 GB, free: 7.164 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7522, allocations: 0 / 0.7446 GB, free: 7.164 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.779e-05/0.7522, allocations: 4 kB / 0.7446 GB, free: 7.16 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001053/0.7533, allocations: 0.5568 MB / 0.7451 GB, free: 6.555 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7534, allocations: 8.031 kB / 0.7451 GB, free: 6.547 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.7535, allocations: 58.55 kB / 0.7452 GB, free: 6.48 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.7536, allocations: 35.67 kB / 0.7452 GB, free: 6.445 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.754, allocations: 287.5 kB / 0.7455 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.7541, allocations: 12.44 kB / 0.7455 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.7541, allocations: 27.91 kB / 0.7456 GB, free: 6.086 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.7547, allocations: 311.1 kB / 0.7458 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7547, allocations: 7.938 kB / 0.7459 GB, free: 5.766 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.7547, allocations: 8 kB / 0.7459 GB, free: 5.758 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7547, allocations: 7.953 kB / 0.7459 GB, free: 5.75 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.7552, allocations: 285.6 kB / 0.7461 GB, free: 5.473 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.7557, allocations: 391.2 kB / 0.7465 GB, free: 5.039 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.7575, allocations: 0.6773 MB / 0.7472 GB, free: 4.359 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.7578, allocations: 226.1 kB / 0.7474 GB, free: 4.137 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.758, allocations: 89.53 kB / 0.7475 GB, free: 4.031 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7581, allocations: 46.98 kB / 0.7475 GB, free: 3.977 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.7581, allocations: 0 / 0.7475 GB, free: 3.977 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.0008416/0.7589, allocations: 0.5016 MB / 0.748 GB, free: 3.461 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.759, allocations: 55.84 kB / 0.7481 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.7591, allocations: 134.1 kB / 0.7482 GB, free: 3.25 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.7592, allocations: 33.7 kB / 0.7482 GB, free: 3.211 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.7592, allocations: 97.14 kB / 0.7483 GB, free: 3.113 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.7594, allocations: 208.9 kB / 0.7485 GB, free: 2.906 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.7594, allocations: 20 kB / 0.7485 GB, free: 2.887 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7596, allocations: 338.8 kB / 0.7489 GB, free: 2.547 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.7599, allocations: 241.4 kB / 0.7491 GB, free: 2.312 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.7603, allocations: 246.9 kB / 0.7493 GB, free: 2.07 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.7607, allocations: 289.9 kB / 0.7496 GB, free: 1.789 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7608, allocations: 0 / 0.7496 GB, free: 1.789 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009369/0.7617, allocations: 0.6522 MB / 0.7502 GB, free: 1.129 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.7617, allocations: 4 kB / 0.7502 GB, free: 1.125 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7617, allocations: 0 / 0.7502 GB, free: 1.125 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.7618, allocations: 11.94 kB / 0.7503 GB, free: 1.113 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.7625, allocations: 143.8 kB / 0.7504 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.7625, allocations: 7.953 kB / 0.7504 GB, free: 0.9648 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.7628, allocations: 35.59 kB / 0.7504 GB, free: 0.9297 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.7628, allocations: 20 kB / 0.7505 GB, free: 0.9102 MB / 0.5419 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001302/0.763, allocations: 132.9 kB / 0.7506 GB, free: 0.7734 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.763, allocations: 23.72 kB / 0.7506 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.7643, allocations: 0.7307 MB / 0.7513 GB, free: 16 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.7643, allocations: 8 kB / 0.7513 GB, free: 8 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.7643, allocations: 7.938 kB / 0.7513 GB, free: 0 / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6415/1.406, allocations: 7.203 kB / 0.7513 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/1.407, allocations: 457.8 kB / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.407, allocations: 1.078 kB / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.408, allocations: 164.6 kB / 0.7519 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/1.408, allocations: 3.844 kB / 0.7519 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/1.408, allocations: 24.03 kB / 0.752 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/1.408, allocations: 7.047 kB / 0.752 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.408, allocations: 4.594 kB / 0.752 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.41, allocations: 0.9418 MB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/1.41, allocations: 174.1 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/1.41, allocations: 21.67 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1.41, allocations: 9.5 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.411, allocations: 51.08 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/1.411, allocations: 25.86 kB / 0.7532 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.071e-05/1.411, allocations: 112.9 kB / 0.7533 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.6e-07/1.411, allocations: 0 / 0.7533 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004662/1.411, allocations: 127.8 kB / 0.7534 GB, free: 132.1 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.001982/1.413, allocations: 1.52 MB / 0.7549 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.414, allocations: 0.5784 MB / 0.7554 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.414, allocations: 0 / 0.7554 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/1.415, allocations: 323.6 kB / 0.7557 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/1.415, allocations: 50.2 kB / 0.7558 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/1.418, allocations: 1.619 MB / 0.7574 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/1.418, allocations: 0.8195 MB / 0.7582 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004966/1.419, allocations: 181 kB / 0.7583 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/1.419, allocations: 118.7 kB / 0.7585 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of SimCode: time 5.91e-07/1.419, allocations: 0 / 0.7585 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/1.438, allocations: 8.316 MB / 0.7666 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/1.439, allocations: 186.9 kB / 0.7668 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/3.569, allocations: 0 / 0.7668 GB, free: 125.9 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat