Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.001301/0.0013, allocations: 177.1 kB / 8.35 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.369/1.369, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.00093/0.0009301, allocations: 92.61 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9319/0.9319, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.554e-05, allocations: 0 / 0.5296 GB, free: 452 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5655, allocations: 82.83 MB / 0.6105 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.7167, allocations: 125.2 MB / 0.7328 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.717, allocations: 67.77 kB / 0.7328 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.00853/0.7255, allocations: 2.755 MB / 0.7355 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7256, allocations: 0 / 0.7355 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.7256, allocations: 0 / 0.7355 GB, free: 12.91 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000561/0.7261, allocations: 466.3 kB / 0.736 GB, free: 12.4 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7262, allocations: 12.02 kB / 0.736 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.7262, allocations: 15.86 kB / 0.736 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.7265, allocations: 228.5 kB / 0.7362 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.7266, allocations: 7.938 kB / 0.7362 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.7266, allocations: 12 kB / 0.7362 GB, free: 12.09 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002267/0.7268, allocations: 132.4 kB / 0.7364 GB, free: 11.96 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.7271, allocations: 159.2 kB / 0.7365 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7271, allocations: 0 / 0.7365 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.7271, allocations: 8 kB / 0.7365 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.7272, allocations: 7.891 kB / 0.7365 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.7275, allocations: 242.6 kB / 0.7368 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008593/0.7283, allocations: 335.4 kB / 0.7371 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.7285, allocations: 109.8 kB / 0.7372 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.7287, allocations: 89.09 kB / 0.7373 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.7287, allocations: 42.5 kB / 0.7373 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.7287, allocations: 4 kB / 0.7373 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.0007475/0.7295, allocations: 314.5 kB / 0.7376 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.7295, allocations: 55.39 kB / 0.7377 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.7296, allocations: 118.7 kB / 0.7378 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.7296, allocations: 25.7 kB / 0.7378 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.7297, allocations: 92.7 kB / 0.7379 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.7298, allocations: 106.4 kB / 0.738 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.7298, allocations: 4 kB / 0.738 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7299, allocations: 330.8 kB / 0.7383 GB, free: 9.844 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.7301, allocations: 116.6 kB / 0.7384 GB, free: 9.727 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.7302, allocations: 112.9 kB / 0.7385 GB, free: 9.617 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.7307, allocations: 202 kB / 0.7387 GB, free: 9.422 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7307, allocations: 0 / 0.7387 GB, free: 9.422 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007647/0.7315, allocations: 393.7 kB / 0.7391 GB, free: 9.031 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7315, allocations: 8 kB / 0.7391 GB, free: 9.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7315, allocations: 0 / 0.7391 GB, free: 9.023 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7316, allocations: 3.984 kB / 0.7391 GB, free: 9.02 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.7319, allocations: 71.91 kB / 0.7392 GB, free: 8.949 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.732, allocations: 4 kB / 0.7392 GB, free: 8.945 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.7321, allocations: 15.75 kB / 0.7392 GB, free: 8.93 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.7321, allocations: 11.98 kB / 0.7392 GB, free: 8.918 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 (39): * Single equations (assignments): 39 * 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 8.527e-05/0.7322, allocations: 116.9 kB / 0.7393 GB, free: 8.797 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006651/0.7329, allocations: 317.5 kB / 0.7396 GB, free: 8.48 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.7329, allocations: 15.81 kB / 0.7396 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/0.7338, allocations: 427.3 kB / 0.74 GB, free: 8.039 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7338, allocations: 4 kB / 0.74 GB, free: 8.035 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7338, allocations: 0 / 0.74 GB, free: 8.035 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7338, allocations: 7.922 kB / 0.74 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.7341, allocations: 273.9 kB / 0.7403 GB, free: 7.723 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7341, allocations: 7.938 kB / 0.7403 GB, free: 7.715 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.7346, allocations: 87.89 kB / 0.7404 GB, free: 7.629 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.7346, allocations: 4 kB / 0.7404 GB, free: 7.625 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.7346, allocations: 4 kB / 0.7404 GB, free: 7.621 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7346, allocations: 0 / 0.7404 GB, free: 7.621 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7347, allocations: 4 kB / 0.7404 GB, free: 7.617 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.7356, allocations: 0.5411 MB / 0.7409 GB, free: 7.055 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.7357, allocations: 124.8 kB / 0.7411 GB, free: 6.914 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.7358, allocations: 4 kB / 0.7411 GB, free: 6.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.7359, allocations: 0 / 0.7411 GB, free: 6.91 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.7359, allocations: 27.95 kB / 0.7411 GB, free: 6.883 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.736, allocations: 8 kB / 0.7411 GB, free: 6.875 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.736, allocations: 101 kB / 0.7412 GB, free: 6.777 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.736, allocations: 0 / 0.7412 GB, free: 6.777 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002747/0.7363, allocations: 63.94 kB / 0.7413 GB, free: 6.715 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001194/0.7375, allocations: 1.102 MB / 0.7423 GB, free: 5.586 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.7379, allocations: 283.8 kB / 0.7426 GB, free: 5.309 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.738, allocations: 4 kB / 0.7426 GB, free: 5.305 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.7382, allocations: 159.8 kB / 0.7428 GB, free: 5.148 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.7384, allocations: 16.2 kB / 0.7428 GB, free: 5.133 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.7398, allocations: 0.8765 MB / 0.7436 GB, free: 4.215 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.7401, allocations: 0.7486 MB / 0.7444 GB, free: 3.438 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.7403, allocations: 102 kB / 0.7445 GB, free: 3.34 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.7405, allocations: 71.41 kB / 0.7445 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of SimCode: time 6.91e-07/0.7405, allocations: 0 / 0.7445 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6078/1.348, allocations: 4.502 MB / 0.7489 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.349, allocations: 175.2 kB / 0.7491 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/3.223, allocations: 0 / 0.7491 GB, free: 135.2 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat does not exist to compare? outputFormat=mat