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.0009839/0.000984, allocations: 176.6 kB / 8.35 MB, free: 0.7227 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.293/1.293, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.00108/0.00108, allocations: 90.89 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9845/0.9845, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.921e-05, allocations: 0 / 0.5296 GB, free: 464 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6642, allocations: 82.84 MB / 0.6105 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.8262, allocations: 125.2 MB / 0.7328 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.8264, allocations: 75.75 kB / 0.7328 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.8484, allocations: 6.736 MB / 0.7394 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8485, allocations: 0 / 0.7394 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.8485, allocations: 8 kB / 0.7394 GB, free: 8.836 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001857/0.8504, allocations: 0.8304 MB / 0.7402 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.8504, allocations: 12.02 kB / 0.7402 GB, free: 7.949 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.8506, allocations: 51.39 kB / 0.7403 GB, free: 7.898 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.8514, allocations: 443.5 kB / 0.7407 GB, free: 7.426 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.8514, allocations: 19.98 kB / 0.7407 GB, free: 7.406 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.8516, allocations: 39.81 kB / 0.7408 GB, free: 7.367 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009472/0.8525, allocations: 0.5569 MB / 0.7413 GB, free: 6.809 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.8534, allocations: 0.523 MB / 0.7418 GB, free: 6.281 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.8534, allocations: 0 / 0.7418 GB, free: 6.281 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.8535, allocations: 0 / 0.7418 GB, free: 6.281 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.8535, allocations: 15.95 kB / 0.7418 GB, free: 6.266 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/0.8543, allocations: 0.5352 MB / 0.7424 GB, free: 5.691 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.8573, allocations: 1.289 MB / 0.7436 GB, free: 4.387 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.8578, allocations: 412.6 kB / 0.744 GB, free: 3.984 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.8581, allocations: 110.3 kB / 0.7441 GB, free: 3.859 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.8581, allocations: 47.88 kB / 0.7442 GB, free: 3.801 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=103): time 2.796e-06/0.8581, allocations: 0 / 0.7442 GB, free: 3.801 MB / 0.5419 GB Notification: Performance of matching and sorting (n=103): time 0.002639/0.8608, allocations: 1.106 MB / 0.7452 GB, free: 2.691 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.8609, allocations: 68.72 kB / 0.7453 GB, free: 2.609 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.8611, allocations: 141.9 kB / 0.7454 GB, free: 2.465 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.8611, allocations: 25.7 kB / 0.7455 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.8612, allocations: 110.1 kB / 0.7456 GB, free: 2.324 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.8615, allocations: 390.2 kB / 0.7459 GB, free: 1.938 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.8616, allocations: 0 / 0.7459 GB, free: 1.938 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8618, allocations: 370.7 kB / 0.7463 GB, free: 1.566 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.8624, allocations: 454.4 kB / 0.7467 GB, free: 1.125 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.8631, allocations: 468.9 kB / 0.7472 GB, free: 0.668 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7705/1.634, allocations: 0.7242 MB / 0.7479 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.634, allocations: 0.9062 kB / 0.7479 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003323/1.637, allocations: 1.373 MB / 0.7492 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.637, allocations: 5.719 kB / 0.7492 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.637, allocations: 0.8125 kB / 0.7492 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.637, allocations: 5.766 kB / 0.7492 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.639, allocations: 283.2 kB / 0.7495 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.639, allocations: 5.562 kB / 0.7495 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/1.639, allocations: 53.22 kB / 0.7496 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/1.639, allocations: 42.5 kB / 0.7496 GB, free: 133.7 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 (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.0001362/1.639, allocations: 120.8 kB / 0.7497 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002432/1.642, allocations: 1.11 MB / 0.7508 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/1.642, allocations: 45.8 kB / 0.7508 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.645, allocations: 1.468 MB / 0.7523 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.645, allocations: 18.5 kB / 0.7523 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.645, allocations: 0.875 kB / 0.7523 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.645, allocations: 6.656 kB / 0.7523 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/1.646, allocations: 0.6544 MB / 0.7529 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.646, allocations: 1.75 kB / 0.7529 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.648, allocations: 319.6 kB / 0.7533 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.648, allocations: 5.062 kB / 0.7533 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/1.648, allocations: 31.78 kB / 0.7533 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.648, allocations: 4.844 kB / 0.7533 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.648, allocations: 3.812 kB / 0.7533 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/1.651, allocations: 1.921 MB / 0.7552 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/1.652, allocations: 249 kB / 0.7554 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/1.652, allocations: 18.72 kB / 0.7554 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/1.652, allocations: 0 / 0.7554 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.652, allocations: 83.73 kB / 0.7555 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/1.652, allocations: 43 kB / 0.7555 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 6.583e-05/1.652, allocations: 124.8 kB / 0.7557 GB, free: 132 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/1.652, allocations: 7.375 kB / 0.7557 GB, free: 132 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000468/1.653, allocations: 193.8 kB / 0.7559 GB, free: 132 MB / 0.5421 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 () * 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.002849/1.656, allocations: 2.499 MB / 0.7583 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.657, allocations: 1.088 MB / 0.7594 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.657, allocations: 0 / 0.7594 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/1.657, allocations: 0.5903 MB / 0.7599 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/1.658, allocations: 61.5 kB / 0.76 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/1.661, allocations: 2.996 MB / 0.7629 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/1.661, allocations: 0.9443 MB / 0.7638 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007505/1.662, allocations: 373.1 kB / 0.7642 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.662, allocations: 237.7 kB / 0.7644 GB, free: 127 MB / 0.5421 GB Notification: Performance of SimCode: time 4.11e-07/1.662, allocations: 0 / 0.7644 GB, free: 127 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/1.693, allocations: 14.57 MB / 0.7787 GB, free: 113 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.694, allocations: 185.5 kB / 0.7788 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/3.913, allocations: 0 / 0.7788 GB, free: 112.8 MB / 0.5421 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