Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",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.001476/0.001476, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001606/0.001606, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.237/1.237, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7654/0.7654, allocations: 119.3 MB / 411 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.491 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4051, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001435/0.4066, allocations: 402.7 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001615/0.4068, allocations: 36.09 kB / 0.5703 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.4068, allocations: 0 / 0.5703 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.4068, allocations: 0 / 0.5703 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.4069, allocations: 0 / 0.5703 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.407, allocations: 7.078 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.349e-05/0.407, allocations: 2.781 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.4071, allocations: 1.25 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.4071, allocations: 0 / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.297e-05/0.4071, allocations: 5.312 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.4072, allocations: 5.219 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.4072, allocations: 12.98 kB / 0.5703 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.4072, allocations: 7.922 kB / 0.5703 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.4073, allocations: 1.406 kB / 0.5703 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.779e-05/0.4073, allocations: 7.609 kB / 0.5703 GB, free: 43.03 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4073, allocations: 1.219 kB / 0.5703 GB, free: 43.03 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4073, allocations: 0 / 0.5703 GB, free: 43.03 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.4073, allocations: 0 / 0.5703 GB, free: 43.03 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.000203/0.4076, allocations: 316 kB / 0.5706 GB, free: 42.67 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4076, allocations: 16.83 kB / 0.5706 GB, free: 42.66 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.123e-05/0.4076, allocations: 35.8 kB / 0.5707 GB, free: 42.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.4077, allocations: 0.9375 kB / 0.5707 GB, free: 42.62 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.831e-05/0.4077, allocations: 161.5 kB / 0.5708 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.4077, allocations: 384 / 0.5708 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.4077, allocations: 1.438 kB / 0.5708 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.818e-05/0.4078, allocations: 33.14 kB / 0.5708 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.4078, allocations: 5.281 kB / 0.5709 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.4078, allocations: 0 / 0.5709 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4079, allocations: 3.938 kB / 0.5709 GB, free: 42.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.036e-05/0.4079, allocations: 15.42 kB / 0.5709 GB, free: 42.37 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.418e-05/0.408, allocations: 147.8 kB / 0.571 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/0.408, allocations: 20.08 kB / 0.571 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.4081, allocations: 7.234 kB / 0.571 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.4083, allocations: 86.81 kB / 0.5711 GB, free: 42.05 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.4083, allocations: 39.78 kB / 0.5712 GB, free: 42 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4083, allocations: 3.938 kB / 0.5712 GB, free: 42 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.4084, allocations: 45.78 kB / 0.5712 GB, free: 41.96 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.4084, allocations: 52.75 kB / 0.5713 GB, free: 41.89 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.437e-05/0.4085, allocations: 89.86 kB / 0.5713 GB, free: 41.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.4085, allocations: 25.7 kB / 0.5714 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.018e-05/0.4085, allocations: 84.14 kB / 0.5714 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.4085, allocations: 7.531 kB / 0.5715 GB, free: 41.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4086, allocations: 16.12 kB / 0.5715 GB, free: 41.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.4086, allocations: 315.9 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.4086, allocations: 2.125 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.4086, allocations: 6.25 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.4087, allocations: 9.297 kB / 0.5718 GB, free: 41.33 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4087, allocations: 0 / 0.5718 GB, free: 41.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.981e-05/0.4087, allocations: 41.52 kB / 0.5718 GB, free: 41.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4087, allocations: 9.547 kB / 0.5718 GB, free: 41.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4088, allocations: 8.031 kB / 0.5718 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4088, allocations: 1.094 kB / 0.5718 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.4088, allocations: 2.312 kB / 0.5718 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4088, allocations: 5.125 kB / 0.5719 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.4088, allocations: 0 / 0.5719 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.4089, allocations: 1.125 kB / 0.5719 GB, free: 41.27 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.791e-05/0.4089, allocations: 107.1 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.4089, allocations: 1.281 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.409, allocations: 56.28 kB / 0.572 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.409, allocations: 0 / 0.572 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.409, allocations: 0 / 0.572 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.409, allocations: 1.344 kB / 0.572 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.817e-05/0.4091, allocations: 151 kB / 0.5722 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4091, allocations: 1.125 kB / 0.5722 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.4091, allocations: 6.75 kB / 0.5722 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4091, allocations: 3.984 kB / 0.5722 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.4091, allocations: 5.156 kB / 0.5722 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4091, allocations: 0 / 0.5722 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4091, allocations: 4.031 kB / 0.5722 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.067e-05/0.4092, allocations: 62.5 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.4092, allocations: 82.36 kB / 0.5723 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.4092, allocations: 7.875 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.4092, allocations: 0 / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-06/0.4093, allocations: 1.281 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.4093, allocations: 1.344 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.041e-05/0.4093, allocations: 79.31 kB / 0.5724 GB, free: 40.64 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4093, allocations: 0 / 0.5724 GB, free: 40.64 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002104/0.4095, allocations: 7.812 kB / 0.5724 GB, free: 40.63 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 0.0001925/0.4097, allocations: 0.6005 MB / 0.573 GB, free: 40.02 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.871e-05/0.4098, allocations: 18.52 kB / 0.573 GB, free: 40.01 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4098, allocations: 0 / 0.573 GB, free: 40.01 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.4098, allocations: 4.406 kB / 0.573 GB, free: 40.01 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.4099, allocations: 1.25 kB / 0.573 GB, free: 40.01 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.4102, allocations: 120 kB / 0.5731 GB, free: 39.86 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.054e-05/0.4103, allocations: 0.6716 MB / 0.5738 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.4103, allocations: 5.406 kB / 0.5738 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.4103, allocations: 8.688 kB / 0.5738 GB, free: 39.16 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4103, allocations: 0 / 0.5738 GB, free: 39.16 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9707/1.381, allocations: 1.015 MB / 0.5748 GB, free: 38.58 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.8, allocations: 10.22 kB / 0.5748 GB, free: 38.58 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches