Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",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.00094/0.00094, allocations: 176.8 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.5 MB / 230.3 MB, free: 7.508 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.001014/0.001014, allocations: 89.94 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.038/1.038, allocations: 120.5 MB / 452.4 MB, free: 10.47 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.952e-05, allocations: 3.938 kB / 0.5296 GB, free: 436 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6802, allocations: 82.85 MB / 0.6105 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.8381, allocations: 125.2 MB / 0.7328 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.8384, allocations: 63.83 kB / 0.7328 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.04002/0.8784, allocations: 12.41 MB / 0.7449 GB, free: 3.152 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8785, allocations: 0 / 0.7449 GB, free: 3.152 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.8785, allocations: 16 kB / 0.745 GB, free: 3.137 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003503/0.882, allocations: 1.533 MB / 0.7465 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.8821, allocations: 12.02 kB / 0.7465 GB, free: 1.547 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.8823, allocations: 87.02 kB / 0.7465 GB, free: 1.461 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.8839, allocations: 0.9004 MB / 0.7474 GB, free: 0.5156 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.884, allocations: 28 kB / 0.7475 GB, free: 500 kB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.8842, allocations: 87.7 kB / 0.7475 GB, free: 412 kB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5648/1.449, allocations: 1.189 MB / 0.7487 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/1.451, allocations: 1.011 MB / 0.7497 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.451, allocations: 6.203 kB / 0.7497 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/1.451, allocations: 0.6094 kB / 0.7497 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/1.451, allocations: 22.09 kB / 0.7497 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/1.453, allocations: 0.9494 MB / 0.7506 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/1.459, allocations: 2.635 MB / 0.7532 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/1.46, allocations: 0.8016 MB / 0.754 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/1.461, allocations: 131.4 kB / 0.7541 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.461, allocations: 56.38 kB / 0.7542 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=203): time 3.597e-06/1.461, allocations: 0 / 0.7542 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=203): time 0.004861/1.466, allocations: 2.154 MB / 0.7563 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.466, allocations: 72.56 kB / 0.7563 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/1.466, allocations: 188.5 kB / 0.7565 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/1.466, allocations: 29.61 kB / 0.7566 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/1.466, allocations: 133.9 kB / 0.7567 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/1.466, allocations: 0.7599 MB / 0.7574 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/1.466, allocations: 0 / 0.7574 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/1.467, allocations: 415.7 kB / 0.7578 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009743/1.468, allocations: 0.8891 MB / 0.7587 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009816/1.469, allocations: 0.8956 MB / 0.7596 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/1.472, allocations: 1.451 MB / 0.761 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.472, allocations: 7.531 kB / 0.761 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004835/1.477, allocations: 2.689 MB / 0.7636 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/1.477, allocations: 6.5 kB / 0.7636 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.477, allocations: 0 / 0.7636 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.439e-05/1.477, allocations: 13.36 kB / 0.7636 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/1.48, allocations: 0.5469 MB / 0.7642 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/1.48, allocations: 11.94 kB / 0.7642 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/1.481, allocations: 98.34 kB / 0.7643 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.481, allocations: 83.41 kB / 0.7644 GB, free: 126.1 MB / 0.5421 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 (284): * Single equations (assignments): 284 * 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.0002459/1.482, allocations: 131.8 kB / 0.7645 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004163/1.486, allocations: 2.153 MB / 0.7666 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/1.486, allocations: 87.02 kB / 0.7667 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/1.491, allocations: 2.887 MB / 0.7695 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.491, allocations: 28 kB / 0.7695 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.491, allocations: 0 / 0.7695 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/1.491, allocations: 11.06 kB / 0.7695 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.493, allocations: 1.18 MB / 0.7707 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.493, allocations: 0 / 0.7707 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004694/1.497, allocations: 0.6073 MB / 0.7713 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/1.497, allocations: 8 kB / 0.7713 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.498, allocations: 72.89 kB / 0.7713 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/1.498, allocations: 11.95 kB / 0.7714 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.498, allocations: 0 / 0.7714 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/1.503, allocations: 3.745 MB / 0.775 GB, free: 116.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/1.504, allocations: 414.9 kB / 0.7754 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.504, allocations: 31.95 kB / 0.7754 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/1.505, allocations: 0 / 0.7754 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.505, allocations: 177.2 kB / 0.7756 GB, free: 116 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.505, allocations: 75.97 kB / 0.7757 GB, free: 115.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.398e-05/1.505, allocations: 160.5 kB / 0.7758 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.7e-07/1.505, allocations: 0 / 0.7758 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000728/1.506, allocations: 366.7 kB / 0.7762 GB, free: 115.4 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 284 * 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.005931/1.512, allocations: 4.364 MB / 0.7804 GB, free: 111 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.515, allocations: 2.153 MB / 0.7825 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.515, allocations: 0 / 0.7825 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.516, allocations: 1.175 MB / 0.7837 GB, free: 107.6 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/1.516, allocations: 120 kB / 0.7838 GB, free: 107.5 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/1.523, allocations: 5.955 MB / 0.7896 GB, free: 101.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/1.523, allocations: 1.178 MB / 0.7908 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001709/1.525, allocations: 0.7513 MB / 0.7915 GB, free: 99.62 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/1.526, allocations: 475.2 kB / 0.792 GB, free: 99.16 MB / 0.5421 GB Notification: Performance of SimCode: time 9.12e-07/1.526, allocations: 0 / 0.792 GB, free: 99.16 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/1.57, allocations: 28.04 MB / 0.8193 GB, free: 71.18 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/1.57, allocations: 175.5 kB / 0.8195 GB, free: 70.99 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/4.283, allocations: 0 / 0.8195 GB, free: 70.99 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat does not exist to compare? outputFormat=mat