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/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 104.2 kB / 17.06 MB, free: 6.027 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.00168/0.00168, allocations: 196 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.416/2.416, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.625/1.625, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 61.56 kB / 0.5719 GB, free: 39.16 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2586, allocations: 80.68 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003901/0.2626, allocations: 1.385 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2641, allocations: 0.5185 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2643, allocations: 0 / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2644, allocations: 11.92 kB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.2649, allocations: 55.73 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.2652, allocations: 43.81 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.2655, allocations: 187.5 kB / 0.6528 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.2656, allocations: 12.17 kB / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2659, allocations: 83.8 kB / 0.6529 GB, free: 9.793 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.2662, allocations: 91.77 kB / 0.653 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.2662, allocations: 11.94 kB / 0.653 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2664, allocations: 31.97 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.2665, allocations: 63.84 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.2667, allocations: 71.66 kB / 0.6532 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.267, allocations: 143.2 kB / 0.6533 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.267, allocations: 4 kB / 0.6533 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.073e-06/0.267, allocations: 0 / 0.6533 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.267, allocations: 0 / 0.6533 GB, free: 9.387 MB / 0.4983 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.00124/0.2683, allocations: 475.2 kB / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.2684, allocations: 11.89 kB / 0.6538 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.711e-05/0.2685, allocations: 46.73 kB / 0.6538 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.2685, allocations: 12.84 kB / 0.6538 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2689, allocations: 223.5 kB / 0.654 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.269, allocations: 12.23 kB / 0.6541 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.269, allocations: 12 kB / 0.6541 GB, free: 8.512 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.2695, allocations: 175.4 kB / 0.6542 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2695, allocations: 0 / 0.6542 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.2696, allocations: 4 kB / 0.6542 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2696, allocations: 4 kB / 0.6542 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.2699, allocations: 152.6 kB / 0.6544 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.2704, allocations: 290.1 kB / 0.6547 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2716, allocations: 354.8 kB / 0.655 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.2718, allocations: 120.8 kB / 0.6551 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.2721, allocations: 97.02 kB / 0.6552 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.2721, allocations: 34.56 kB / 0.6552 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.2721, allocations: 4 kB / 0.6552 GB, free: 7.211 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0007773/0.2729, allocations: 374 kB / 0.6556 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.273, allocations: 55.41 kB / 0.6557 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2732, allocations: 137 kB / 0.6558 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2732, allocations: 29.7 kB / 0.6558 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.2733, allocations: 92.7 kB / 0.6559 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2734, allocations: 110.4 kB / 0.656 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2736, allocations: 58.03 kB / 0.6561 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2738, allocations: 338.8 kB / 0.6564 GB, free: 5.988 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.274, allocations: 120.6 kB / 0.6565 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2742, allocations: 125.1 kB / 0.6566 GB, free: 5.75 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.2747, allocations: 286.9 kB / 0.6569 GB, free: 5.469 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2747, allocations: 4 kB / 0.6569 GB, free: 5.465 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006782/0.2754, allocations: 349.2 kB / 0.6572 GB, free: 5.117 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2754, allocations: 4 kB / 0.6572 GB, free: 5.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2755, allocations: 4 kB / 0.6572 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.2755, allocations: 0 / 0.6572 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.2758, allocations: 71.91 kB / 0.6573 GB, free: 5.039 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.2758, allocations: 3.984 kB / 0.6573 GB, free: 5.035 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.276, allocations: 19.75 kB / 0.6573 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.276, allocations: 12 kB / 0.6573 GB, free: 5.004 MB / 0.4983 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.2762, allocations: 143.1 kB / 0.6575 GB, free: 4.855 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.2763, allocations: 11.91 kB / 0.6575 GB, free: 4.844 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008322/0.2771, allocations: 407.3 kB / 0.6579 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2771, allocations: 4 kB / 0.6579 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.2772, allocations: 0 / 0.6579 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.2772, allocations: 7.984 kB / 0.6579 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.2776, allocations: 309.2 kB / 0.6582 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2776, allocations: 0 / 0.6582 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.278, allocations: 87.89 kB / 0.6583 GB, free: 3.984 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2781, allocations: 0 / 0.6583 GB, free: 3.984 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.2781, allocations: 19.97 kB / 0.6583 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2781, allocations: 0 / 0.6583 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2781, allocations: 0 / 0.6583 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000879/0.279, allocations: 0.5335 MB / 0.6588 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.2792, allocations: 132.7 kB / 0.6589 GB, free: 3.262 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.2793, allocations: 11.94 kB / 0.6589 GB, free: 3.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2794, allocations: 12 kB / 0.659 GB, free: 3.238 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.2794, allocations: 23.97 kB / 0.659 GB, free: 3.215 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2795, allocations: 11.98 kB / 0.659 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.496e-05/0.2795, allocations: 99.27 kB / 0.6591 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2796, allocations: 0 / 0.6591 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0004352/0.28, allocations: 64 kB / 0.6591 GB, free: 3.043 MB / 0.4983 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.2814, allocations: 1.079 MB / 0.6602 GB, free: 1.938 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000667/0.282, allocations: 303.7 kB / 0.6605 GB, free: 1.641 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2821, allocations: 0 / 0.6605 GB, free: 1.641 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.2823, allocations: 168 kB / 0.6606 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2827, allocations: 36.42 kB / 0.6607 GB, free: 1.441 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.2873, allocations: 2.879 MB / 0.6635 GB, free: 14.47 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2878, allocations: 0.7526 MB / 0.6642 GB, free: 13.7 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000238/0.288, allocations: 89.84 kB / 0.6643 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.2882, allocations: 75.34 kB / 0.6644 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of SimCode: time 1.233e-06/0.2882, allocations: 0 / 0.6644 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.3225, allocations: 5.61 MB / 0.6699 GB, free: 8.078 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.9, allocations: 11.45 kB / 0.6699 GB, free: 8.07 MB / 0.5139 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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Qh[1],Qh[2],Qh[3],Qh[5],Que[1],Que[2],Que[3],Que[5],Tu[1],Tu[2],Tu[3],Tu[5],der(Tu[1]),der(Tu[2]),der(Tu[3]),der(Tu[5]),der(x[1]),der(x[2]),der(x[3]),der(x[5]),time,time,u[1],u[2],u[3],u[5],x[1],x[2],x[3],x[5] Variables in the result:Cd,Cu[1],Cu[2],Cu[3],Cu[4],Cu[5],Gh,Gu,Kp,N,Qd,Qh[1],Qh[2],Qh[3],Qh[4],Qh[5],Qmax,Que[1],Que[2],Que[3],Que[4],Que[5],Td,Td0,Teps,Text,Tu0,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],a,b,der(Td),der(Tu[1]),der(Tu[2]),der(Tu[3]),der(Tu[4]),der(Tu[5]),der(x[1]),der(x[2]),der(x[3]),der(x[4]),der(x[5]),time,u[1],u[2],u[3],u[4],u[5],x[1],x[2],x[3],x[4],x[5]