Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 175.8 kB / 8.346 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.565/1.565, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001064/0.001064, allocations: 93.91 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.206/1.206, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.944e-05, allocations: 4 kB / 0.5288 GB, free: 1.305 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6854, allocations: 82.83 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.8676, allocations: 124.4 MB / 0.7312 GB, free: 0.4922 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001452/0.8678, allocations: 51.97 kB / 0.7312 GB, free: 456 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.001336/0.8691, allocations: 0.5488 MB / 0.7318 GB, free: 15.89 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8692, allocations: 0 / 0.7318 GB, free: 15.89 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.8692, allocations: 0 / 0.7318 GB, free: 15.89 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002752/0.8694, allocations: 310.6 kB / 0.7321 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.8695, allocations: 8.031 kB / 0.7321 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.8695, allocations: 7.953 kB / 0.7321 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.8697, allocations: 159.1 kB / 0.7322 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.8697, allocations: 0 / 0.7322 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.8697, allocations: 4 kB / 0.7322 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.341e-05/0.8698, allocations: 4 kB / 0.7322 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.817e-05/0.8699, allocations: 33.64 kB / 0.7323 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8699, allocations: 0 / 0.7323 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8699, allocations: 0 / 0.7323 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.8699, allocations: 7.938 kB / 0.7323 GB, free: 15.28 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.8701, allocations: 134.2 kB / 0.7324 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.8702, allocations: 22.61 kB / 0.7324 GB, free: 15.08 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.8702, allocations: 4.859 kB / 0.7324 GB, free: 15.07 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.8704, allocations: 89.16 kB / 0.7325 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.8704, allocations: 30.56 kB / 0.7325 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.8704, allocations: 0 / 0.7325 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.8706, allocations: 41.69 kB / 0.7326 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8707, allocations: 59.28 kB / 0.7326 GB, free: 14.81 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.8707, allocations: 89 kB / 0.7327 GB, free: 14.71 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.8708, allocations: 25.7 kB / 0.7327 GB, free: 14.68 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.8708, allocations: 80.14 kB / 0.7328 GB, free: 14.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.8708, allocations: 7.906 kB / 0.7328 GB, free: 14.59 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8708, allocations: 0 / 0.7328 GB, free: 14.59 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.871, allocations: 314.8 kB / 0.7331 GB, free: 14.28 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.871, allocations: 4.031 kB / 0.7331 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.871, allocations: 4 kB / 0.7331 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.8711, allocations: 7.984 kB / 0.7331 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8711, allocations: 0 / 0.7331 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.954e-05/0.8712, allocations: 41.64 kB / 0.7332 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8712, allocations: 7.984 kB / 0.7332 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8712, allocations: 0 / 0.7332 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.8712, allocations: 3.984 kB / 0.7332 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.8713, allocations: 4 kB / 0.7332 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.8713, allocations: 4.094 kB / 0.7332 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.8713, allocations: 0 / 0.7332 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.8714, allocations: 4 kB / 0.7332 GB, free: 14.19 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 (2): * Single equations (assignments): 2 * 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 7.02e-05/0.8714, allocations: 108.9 kB / 0.7333 GB, free: 14.08 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.8714, allocations: 0 / 0.7333 GB, free: 14.08 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.8716, allocations: 45.44 kB / 0.7334 GB, free: 14.03 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8716, allocations: 0 / 0.7334 GB, free: 14.03 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/0.8717, allocations: 4 kB / 0.7334 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8717, allocations: 8.031 kB / 0.7334 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.233e-05/0.8718, allocations: 126.2 kB / 0.7335 GB, free: 13.86 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8718, allocations: 3.953 kB / 0.7335 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.8718, allocations: 4 kB / 0.7335 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8718, allocations: 0 / 0.7335 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.8718, allocations: 0 / 0.7335 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8718, allocations: 0 / 0.7335 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8718, allocations: 0 / 0.7335 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.872, allocations: 73.06 kB / 0.7336 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.872, allocations: 88.91 kB / 0.7337 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.8721, allocations: 3.984 kB / 0.7337 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.8721, allocations: 0 / 0.7337 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.8721, allocations: 0 / 0.7337 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8721, allocations: 4 kB / 0.7337 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.8722, allocations: 75.28 kB / 0.7337 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8722, allocations: 0 / 0.7337 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001875/0.8724, allocations: 4 kB / 0.7337 GB, free: 13.57 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001501/0.8725, allocations: 95.28 kB / 0.7338 GB, free: 13.46 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.8726, allocations: 11.94 kB / 0.7338 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8726, allocations: 0 / 0.7338 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.8726, allocations: 7.938 kB / 0.7338 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.8727, allocations: 0 / 0.7338 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.873, allocations: 55.98 kB / 0.7339 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.8733, allocations: 0.6768 MB / 0.7346 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.8734, allocations: 4.125 kB / 0.7346 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.8734, allocations: 11.44 kB / 0.7346 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of SimCode: time 4.31e-07/0.8734, allocations: 0 / 0.7346 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of Templates: time 0.002258/0.8757, allocations: 260 kB / 0.7348 GB, free: 12.39 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches