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.001138/0.001138, allocations: 89.61 kB / 16.65 MB, free: 6.598 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.001461/0.001461, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.394/1.394, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7764/0.7764, allocations: 120.5 MB / 413.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002686, allocations: 4 kB / 0.495 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.42, allocations: 82.84 MB / 0.5759 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0003381/0.4204, allocations: 121.9 kB / 0.576 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.4207, allocations: 167.3 kB / 0.5762 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.4207, allocations: 2.219 kB / 0.5762 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.367e-06/0.4207, allocations: 0 / 0.5762 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.4208, allocations: 0 / 0.5762 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.143e-05/0.4209, allocations: 1.844 kB / 0.5762 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.231e-05/0.4209, allocations: 11.03 kB / 0.5762 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.421, allocations: 3.984 kB / 0.5762 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.421, allocations: 5.359 kB / 0.5762 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.421, allocations: 1.281 kB / 0.5762 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.421, allocations: 5 kB / 0.5762 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.4211, allocations: 9.984 kB / 0.5762 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.4211, allocations: 0 / 0.5762 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.4211, allocations: 31.14 kB / 0.5763 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.446e-05/0.4212, allocations: 8.422 kB / 0.5763 GB, free: 41.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4212, allocations: 0 / 0.5763 GB, free: 41.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4212, allocations: 0 / 0.5763 GB, free: 41.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.4212, allocations: 5.281 kB / 0.5763 GB, free: 41.69 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.0001464/0.4214, allocations: 308.8 kB / 0.5766 GB, free: 41.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4214, allocations: 9.844 kB / 0.5766 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.4214, allocations: 36.03 kB / 0.5766 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.714e-05/0.4214, allocations: 4.938 kB / 0.5766 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.543e-05/0.4215, allocations: 164.4 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.4215, allocations: 1.781 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.4215, allocations: 1.438 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.573e-05/0.4216, allocations: 37 kB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4216, allocations: 3.938 kB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.4216, allocations: 1.312 kB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.4216, allocations: 3.938 kB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.4216, allocations: 2.562 kB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.197e-05/0.4217, allocations: 156.6 kB / 0.577 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/0.4218, allocations: 22.86 kB / 0.577 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.4218, allocations: 12.2 kB / 0.577 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.4219, allocations: 90.56 kB / 0.5771 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.869e-06/0.422, allocations: 34.56 kB / 0.5771 GB, free: 40.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.422, allocations: 0 / 0.5771 GB, free: 40.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 9.641e-05/0.4221, allocations: 42.83 kB / 0.5772 GB, free: 40.62 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.4221, allocations: 59.33 kB / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.109e-05/0.4221, allocations: 91.61 kB / 0.5773 GB, free: 40.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.4221, allocations: 29.83 kB / 0.5773 GB, free: 40.42 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-06/0.4221, allocations: 84.12 kB / 0.5774 GB, free: 40.33 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.4222, allocations: 7.969 kB / 0.5774 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.4222, allocations: 9.719 kB / 0.5774 GB, free: 40.31 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.4222, allocations: 314.8 kB / 0.5777 GB, free: 40 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.4222, allocations: 1.781 kB / 0.5777 GB, free: 40 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.4222, allocations: 1.844 kB / 0.5777 GB, free: 40 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.4223, allocations: 10.23 kB / 0.5777 GB, free: 39.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4223, allocations: 4.062 kB / 0.5777 GB, free: 39.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.534e-05/0.4223, allocations: 42.62 kB / 0.5778 GB, free: 39.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.4223, allocations: 9.312 kB / 0.5778 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.4223, allocations: 3.938 kB / 0.5778 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.046e-06/0.4224, allocations: 0 / 0.5778 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.98e-05/0.4224, allocations: 3.562 kB / 0.5778 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.4224, allocations: 0 / 0.5778 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.4224, allocations: 0 / 0.5778 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.4224, allocations: 1.812 kB / 0.5778 GB, free: 39.94 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.481e-05/0.4225, allocations: 115.6 kB / 0.5779 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.4225, allocations: 0 / 0.5779 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.4225, allocations: 44.11 kB / 0.578 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4226, allocations: 0 / 0.578 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4226, allocations: 2.219 kB / 0.578 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.4226, allocations: 0 / 0.578 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.134e-05/0.4226, allocations: 152 kB / 0.5781 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4226, allocations: 0 / 0.5781 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.4226, allocations: 9.594 kB / 0.5781 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4226, allocations: 5.656 kB / 0.5781 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.4227, allocations: 3.938 kB / 0.5781 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4227, allocations: 0 / 0.5781 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4227, allocations: 1.375 kB / 0.5781 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.587e-05/0.4227, allocations: 66.12 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.4227, allocations: 77.11 kB / 0.5783 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-06/0.4227, allocations: 5.25 kB / 0.5783 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.4228, allocations: 7.969 kB / 0.5783 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.4228, allocations: 5.297 kB / 0.5783 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.4228, allocations: 0 / 0.5783 GB, free: 39.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.756e-06/0.4228, allocations: 76.5 kB / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4228, allocations: 0 / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001864/0.423, allocations: 2.531 kB / 0.5783 GB, free: 39.3 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.0001695/0.4232, allocations: 0.6082 MB / 0.5789 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.006e-05/0.4232, allocations: 6.875 kB / 0.5789 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4232, allocations: 0 / 0.5789 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.676e-06/0.4232, allocations: 8.062 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.4234, allocations: 5.375 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.4236, allocations: 108.7 kB / 0.5791 GB, free: 38.54 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.4237, allocations: 0.676 MB / 0.5797 GB, free: 37.84 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.4237, allocations: 1.375 kB / 0.5797 GB, free: 37.84 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.4237, allocations: 11.42 kB / 0.5797 GB, free: 37.82 MB / 462.3 MB Notification: Performance of SimCode: time 6.22e-07/0.4237, allocations: 1.375 kB / 0.5797 GB, free: 37.82 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/0.6157, allocations: 0.8972 MB / 0.5806 GB, free: 37.43 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.6159, allocations: 213.4 kB / 0.5808 GB, free: 37.18 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.416, allocations: 1.75 kB / 0.5808 GB, free: 37.18 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