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.001094/0.001094, allocations: 91.91 kB / 16.3 MB, free: 5.996 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.0008996/0.0008996, allocations: 187.4 kB / 17.2 MB, free: 5.91 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.419/1.419, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8742/0.8742, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003688, allocations: 4 kB / 0.4942 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 82.86 MB / 0.5752 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0004405/0.1769, allocations: 110.6 kB / 0.5753 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.1772, allocations: 159.7 kB / 0.5754 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.1773, allocations: 4 kB / 0.5754 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.758e-06/0.1773, allocations: 0 / 0.5754 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.1774, allocations: 0 / 0.5754 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1775, allocations: 15.92 kB / 0.5754 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.1775, allocations: 0 / 0.5754 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.1776, allocations: 0 / 0.5754 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.1776, allocations: 0 / 0.5754 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.1777, allocations: 4 kB / 0.5754 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1777, allocations: 0 / 0.5754 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.1777, allocations: 15.97 kB / 0.5755 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-06/0.1778, allocations: 4 kB / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1778, allocations: 29.64 kB / 0.5755 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.28e-05/0.1779, allocations: 7.984 kB / 0.5755 GB, free: 7.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1779, allocations: 0 / 0.5755 GB, free: 7.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1779, allocations: 0 / 0.5755 GB, free: 7.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.1779, allocations: 0 / 0.5755 GB, free: 7.68 MB / 446.1 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.0002615/0.1781, allocations: 311.4 kB / 0.5758 GB, free: 7.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1782, allocations: 8.094 kB / 0.5758 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1782, allocations: 34.56 kB / 0.5758 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.1783, allocations: 3.953 kB / 0.5758 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1784, allocations: 167 kB / 0.576 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1784, allocations: 4 kB / 0.576 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1784, allocations: 0 / 0.576 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1785, allocations: 29.7 kB / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1785, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1785, allocations: 3.984 kB / 0.576 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1786, allocations: 3.953 kB / 0.576 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.1786, allocations: 4 kB / 0.576 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1788, allocations: 149.7 kB / 0.5762 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.1788, allocations: 26.52 kB / 0.5762 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.179, allocations: 85.16 kB / 0.5763 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1791, allocations: 34.56 kB / 0.5763 GB, free: 6.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1791, allocations: 3.938 kB / 0.5763 GB, free: 6.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.1792, allocations: 41.69 kB / 0.5764 GB, free: 6.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1792, allocations: 55.53 kB / 0.5764 GB, free: 6.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.214e-05/0.1793, allocations: 89.86 kB / 0.5765 GB, free: 6.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1793, allocations: 29.7 kB / 0.5765 GB, free: 6.395 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.1793, allocations: 82.47 kB / 0.5766 GB, free: 6.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1794, allocations: 8.125 kB / 0.5766 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.1794, allocations: 0 / 0.5766 GB, free: 6.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1795, allocations: 318.8 kB / 0.5769 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.1795, allocations: 4 kB / 0.5769 GB, free: 5.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.1795, allocations: 7.984 kB / 0.5769 GB, free: 5.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.01e-05/0.1795, allocations: 8 kB / 0.5769 GB, free: 5.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1796, allocations: 0 / 0.5769 GB, free: 5.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.107e-05/0.1796, allocations: 37.64 kB / 0.577 GB, free: 5.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1796, allocations: 4 kB / 0.577 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1796, allocations: 0 / 0.577 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1797, allocations: 0 / 0.577 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.1797, allocations: 4 kB / 0.577 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1797, allocations: 0 / 0.577 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.1797, allocations: 3.938 kB / 0.577 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.1798, allocations: 12.08 kB / 0.577 GB, free: 5.898 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.574e-05/0.1798, allocations: 117.7 kB / 0.5771 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1798, allocations: 3.906 kB / 0.5771 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.1799, allocations: 40.83 kB / 0.5772 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.18, allocations: 3.984 kB / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.18, allocations: 0 / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.18, allocations: 0 / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.1801, allocations: 149.6 kB / 0.5773 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1801, allocations: 4.031 kB / 0.5773 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.1801, allocations: 4 kB / 0.5773 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1801, allocations: 0 / 0.5773 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1801, allocations: 0 / 0.5773 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1801, allocations: 3.984 kB / 0.5773 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1801, allocations: 0 / 0.5773 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.877e-05/0.1802, allocations: 65.03 kB / 0.5774 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1803, allocations: 89.12 kB / 0.5775 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1803, allocations: 7.984 kB / 0.5775 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.1803, allocations: 0 / 0.5775 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.1803, allocations: 0 / 0.5775 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.1803, allocations: 0 / 0.5775 GB, free: 5.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.813e-05/0.1804, allocations: 79.28 kB / 0.5775 GB, free: 5.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1804, allocations: 4 kB / 0.5775 GB, free: 5.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1806, allocations: 7.938 kB / 0.5776 GB, free: 5.223 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000353/0.1809, allocations: 0.6007 MB / 0.5781 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.771e-05/0.181, allocations: 8 kB / 0.5782 GB, free: 4.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.181, allocations: 0 / 0.5782 GB, free: 4.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.181, allocations: 8 kB / 0.5782 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.039e-05/0.1811, allocations: 0 / 0.5782 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.1814, allocations: 116.5 kB / 0.5783 GB, free: 4.418 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1817, allocations: 0.677 MB / 0.5789 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.041e-05/0.1817, allocations: 0 / 0.5789 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.1817, allocations: 11.44 kB / 0.5789 GB, free: 3.703 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1817, allocations: 3.938 kB / 0.5789 GB, free: 3.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.1924, allocations: 0.8559 MB / 0.5798 GB, free: 3.012 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.1927, allocations: 209.2 kB / 0.58 GB, free: 2.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.888, allocations: 0 / 0.58 GB, free: 2.77 MB / 446.1 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat does not exist to compare? outputFormat=mat