Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",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.001419/0.001419, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001583/0.001583, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.191/1.191, allocations: 222.9 MB / 241.1 MB, free: 13.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7276/0.7276, allocations: 119.3 MB / 410.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 0.4904 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 80.68 MB / 0.5692 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001309/0.3894, allocations: 460.4 kB / 0.5696 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003076/0.3897, allocations: 169.5 kB / 0.5698 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.3897, allocations: 0 / 0.5698 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.3897, allocations: 0 / 0.5698 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.3898, allocations: 9.406 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.732e-05/0.3899, allocations: 6.891 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.013e-05/0.3899, allocations: 5.453 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.3899, allocations: 1.469 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/0.39, allocations: 1.125 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.39, allocations: 5.375 kB / 0.5698 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.39, allocations: 3.938 kB / 0.5698 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.773e-05/0.3901, allocations: 11.02 kB / 0.5698 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.3901, allocations: 0 / 0.5698 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.3901, allocations: 1.5 kB / 0.5698 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.68e-05/0.3902, allocations: 24.09 kB / 0.5698 GB, free: 42.5 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3902, allocations: 0 / 0.5698 GB, free: 42.5 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.72e-07/0.3902, allocations: 0 / 0.5698 GB, free: 42.5 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.3902, allocations: 1.406 kB / 0.5698 GB, free: 42.5 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.0001708/0.3904, allocations: 307.3 kB / 0.5701 GB, free: 42.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3904, allocations: 9.125 kB / 0.5701 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.907e-05/0.3904, allocations: 38.67 kB / 0.5702 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.795e-05/0.3904, allocations: 1.969 kB / 0.5702 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.72e-05/0.3905, allocations: 164.4 kB / 0.5703 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.3905, allocations: 1.469 kB / 0.5703 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.3905, allocations: 9.562 kB / 0.5703 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.883e-05/0.3906, allocations: 29.42 kB / 0.5704 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.3906, allocations: 3.938 kB / 0.5704 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.3906, allocations: 0 / 0.5704 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.3906, allocations: 5.031 kB / 0.5704 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.3906, allocations: 6.641 kB / 0.5704 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.072e-05/0.3907, allocations: 148.8 kB / 0.5705 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.534e-05/0.3908, allocations: 27.45 kB / 0.5705 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.3908, allocations: 10.3 kB / 0.5705 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.391, allocations: 86.25 kB / 0.5706 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.391, allocations: 31.66 kB / 0.5707 GB, free: 41.49 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.391, allocations: 1.094 kB / 0.5707 GB, free: 41.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001026/0.3911, allocations: 50.19 kB / 0.5707 GB, free: 41.44 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.3911, allocations: 55.53 kB / 0.5708 GB, free: 41.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.127e-05/0.3911, allocations: 89.86 kB / 0.5708 GB, free: 41.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.3911, allocations: 26.83 kB / 0.5709 GB, free: 41.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-06/0.3912, allocations: 80.14 kB / 0.571 GB, free: 41.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3912, allocations: 7.188 kB / 0.571 GB, free: 41.16 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.3912, allocations: 11.84 kB / 0.571 GB, free: 41.14 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.3912, allocations: 315.9 kB / 0.5713 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.3913, allocations: 6.203 kB / 0.5713 GB, free: 40.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.3913, allocations: 6.156 kB / 0.5713 GB, free: 40.82 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.3913, allocations: 13.14 kB / 0.5713 GB, free: 40.81 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3913, allocations: 0 / 0.5713 GB, free: 40.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.667e-05/0.3914, allocations: 42.27 kB / 0.5713 GB, free: 40.77 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3914, allocations: 7.781 kB / 0.5713 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3914, allocations: 3.938 kB / 0.5713 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.3914, allocations: 0 / 0.5713 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.3914, allocations: 7.609 kB / 0.5714 GB, free: 40.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3915, allocations: 0 / 0.5714 GB, free: 40.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.3915, allocations: 5.094 kB / 0.5714 GB, free: 40.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.3915, allocations: 0.875 kB / 0.5714 GB, free: 40.76 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.389e-05/0.3915, allocations: 110.8 kB / 0.5715 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.3915, allocations: 1.188 kB / 0.5715 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.3916, allocations: 52.89 kB / 0.5715 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3916, allocations: 0 / 0.5715 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3916, allocations: 0 / 0.5715 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3916, allocations: 1.719 kB / 0.5715 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.183e-05/0.3917, allocations: 151 kB / 0.5717 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3917, allocations: 0 / 0.5717 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.3917, allocations: 10.33 kB / 0.5717 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3917, allocations: 1.188 kB / 0.5717 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.3917, allocations: 3.938 kB / 0.5717 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3917, allocations: 1.281 kB / 0.5717 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3917, allocations: 0 / 0.5717 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.77e-05/0.3918, allocations: 65.36 kB / 0.5717 GB, free: 40.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.3918, allocations: 82.16 kB / 0.5718 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.3918, allocations: 9.062 kB / 0.5718 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.3918, allocations: 0 / 0.5718 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-06/0.3918, allocations: 1.156 kB / 0.5718 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.3918, allocations: 1.125 kB / 0.5718 GB, free: 40.2 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.646e-06/0.3919, allocations: 75.28 kB / 0.5719 GB, free: 40.12 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3919, allocations: 0 / 0.5719 GB, free: 40.12 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001878/0.3921, allocations: 7.5 kB / 0.5719 GB, free: 40.12 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.0001714/0.3922, allocations: 0.6041 MB / 0.5725 GB, free: 39.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.541e-05/0.3923, allocations: 6.625 kB / 0.5725 GB, free: 39.51 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3923, allocations: 0 / 0.5725 GB, free: 39.51 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.3923, allocations: 15.86 kB / 0.5725 GB, free: 39.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.3925, allocations: 2.906 kB / 0.5725 GB, free: 39.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.3927, allocations: 119.6 kB / 0.5726 GB, free: 39.35 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.862e-05/0.3928, allocations: 0.675 MB / 0.5733 GB, free: 38.65 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.3928, allocations: 5.469 kB / 0.5733 GB, free: 38.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.3928, allocations: 8.5 kB / 0.5733 GB, free: 38.64 MB / 462.3 MB Notification: Performance of SimCode: time 2.7e-07/0.3928, allocations: 0 / 0.5733 GB, free: 38.64 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2953/0.6882, allocations: 0.9199 MB / 0.5742 GB, free: 38.18 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.6883, allocations: 223.3 kB / 0.5744 GB, free: 37.93 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.304, allocations: 0 / 0.5744 GB, free: 37.93 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches