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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 111.3 kB / 17.29 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 197.9 kB / 18.21 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241.9 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9074/0.9074, allocations: 119.3 MB / 411.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 59.91 kB / 0.4911 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4733, allocations: 80.68 MB / 0.5699 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001452/0.4748, allocations: 468.2 kB / 0.5703 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.4752, allocations: 163.8 kB / 0.5705 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.4752, allocations: 0 / 0.5705 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.4752, allocations: 1.125 kB / 0.5705 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.4753, allocations: 0 / 0.5705 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.4755, allocations: 17.39 kB / 0.5705 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.929e-05/0.4755, allocations: 6.297 kB / 0.5705 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.4756, allocations: 1.25 kB / 0.5705 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.4756, allocations: 1.188 kB / 0.5705 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.4756, allocations: 5.094 kB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.4756, allocations: 3.938 kB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.4757, allocations: 14.2 kB / 0.5705 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.4757, allocations: 1 kB / 0.5705 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.4757, allocations: 1.062 kB / 0.5705 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.407e-05/0.4758, allocations: 7.047 kB / 0.5705 GB, free: 42.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.4758, allocations: 0 / 0.5705 GB, free: 42.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4758, allocations: 0 / 0.5705 GB, free: 42.42 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4758, allocations: 1.062 kB / 0.5705 GB, free: 42.42 MB / 462.3 MB 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.0002091/0.476, allocations: 311 kB / 0.5708 GB, free: 42.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4761, allocations: 14.28 kB / 0.5708 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.4761, allocations: 0.9375 kB / 0.5708 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.468e-05/0.4762, allocations: 169.6 kB / 0.571 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.4762, allocations: 384 / 0.571 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.4762, allocations: 1.344 kB / 0.571 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.129e-05/0.4763, allocations: 33.55 kB / 0.571 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.4763, allocations: 192 / 0.571 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.4763, allocations: 3.938 kB / 0.571 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4763, allocations: 1.062 kB / 0.571 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.4763, allocations: 7.312 kB / 0.5711 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.632e-05/0.4764, allocations: 151 kB / 0.5712 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.4765, allocations: 20.73 kB / 0.5712 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.4765, allocations: 10.36 kB / 0.5712 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.4767, allocations: 94.34 kB / 0.5713 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.4767, allocations: 39.53 kB / 0.5714 GB, free: 41.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4767, allocations: 3.938 kB / 0.5714 GB, free: 41.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.4768, allocations: 43.42 kB / 0.5714 GB, free: 41.39 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.4769, allocations: 55.39 kB / 0.5715 GB, free: 41.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.664e-05/0.4769, allocations: 93.8 kB / 0.5715 GB, free: 41.22 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.4769, allocations: 26.77 kB / 0.5716 GB, free: 41.19 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-06/0.4769, allocations: 80.14 kB / 0.5716 GB, free: 41.11 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.477, allocations: 5.094 kB / 0.5717 GB, free: 41.11 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.477, allocations: 12.16 kB / 0.5717 GB, free: 41.09 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.477, allocations: 320 kB / 0.572 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.4771, allocations: 1.094 kB / 0.572 GB, free: 40.77 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-06/0.4771, allocations: 2.344 kB / 0.572 GB, free: 40.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.4771, allocations: 21.19 kB / 0.572 GB, free: 40.75 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4771, allocations: 1.094 kB / 0.572 GB, free: 40.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.839e-05/0.4772, allocations: 33.42 kB / 0.572 GB, free: 40.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4772, allocations: 6.188 kB / 0.572 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4772, allocations: 4.094 kB / 0.572 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4772, allocations: 3.938 kB / 0.572 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.4772, allocations: 7.281 kB / 0.572 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4773, allocations: 1.094 kB / 0.572 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.4773, allocations: 1.969 kB / 0.572 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.4773, allocations: 1.125 kB / 0.572 GB, free: 40.71 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.4773, allocations: 115 kB / 0.5722 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.4773, allocations: 1.062 kB / 0.5722 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.4774, allocations: 52.36 kB / 0.5722 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4774, allocations: 0 / 0.5722 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4774, allocations: 5.078 kB / 0.5722 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4774, allocations: 0 / 0.5722 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.496e-05/0.4775, allocations: 143.8 kB / 0.5724 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4775, allocations: 0 / 0.5724 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.4775, allocations: 3.281 kB / 0.5724 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4775, allocations: 1.031 kB / 0.5724 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.4776, allocations: 3.938 kB / 0.5724 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4776, allocations: 1.062 kB / 0.5724 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4776, allocations: 8.016 kB / 0.5724 GB, free: 40.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.64e-05/0.4776, allocations: 65.64 kB / 0.5724 GB, free: 40.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.4776, allocations: 78.2 kB / 0.5725 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.4777, allocations: 7.875 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.4777, allocations: 5.078 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.4777, allocations: 1.062 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4777, allocations: 1.219 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.22e-05/0.4777, allocations: 79.31 kB / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4777, allocations: 0 / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001877/0.4779, allocations: 7.594 kB / 0.5726 GB, free: 40.07 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.811e-05/0.478, allocations: 97.53 kB / 0.5727 GB, free: 39.97 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.4781, allocations: 10.17 kB / 0.5727 GB, free: 39.97 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4781, allocations: 3.938 kB / 0.5727 GB, free: 39.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.4781, allocations: 8.469 kB / 0.5727 GB, free: 39.96 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.4782, allocations: 5.188 kB / 0.5727 GB, free: 39.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.4784, allocations: 117.5 kB / 0.5728 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.4785, allocations: 0.6751 MB / 0.5735 GB, free: 39.12 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.4785, allocations: 8.656 kB / 0.5735 GB, free: 39.11 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.4785, allocations: 0 / 0.5735 GB, free: 39.11 MB / 462.3 MB Notification: Performance of Templates: time 0.001605/0.4801, allocations: 438.4 kB / 0.5739 GB, free: 38.91 MB / 462.3 MB 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