Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.334/3.334, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.793e-05/3.991e-05, allocations: 8.641 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00797/0.00801, allocations: 4.503 MB / 0.882 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.01213, allocations: 2.453 MB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.01231, allocations: 3.938 kB / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.01268, allocations: 43.75 kB / 0.8845 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.01308, allocations: 115.2 kB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.01472, allocations: 0.5209 MB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.01512, allocations: 251.7 kB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.01518, allocations: 9.812 kB / 0.8853 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.01558, allocations: 155.6 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.01578, allocations: 75.77 kB / 0.8855 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.01582, allocations: 8 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000878/0.01669, allocations: 319.1 kB / 0.8859 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.01679, allocations: 43.88 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.01691, allocations: 59.84 kB / 0.886 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01793, allocations: 378.8 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.01794, allocations: 3.984 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.814e-06/0.01794, allocations: 0 / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.01795, allocations: 4 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001175/0.01912, allocations: 437.4 kB / 0.8867 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.01918, allocations: 12.03 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.01946, allocations: 52.66 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.01983, allocations: 149.6 kB / 0.8869 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.01985, allocations: 8.703 kB / 0.887 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.01989, allocations: 24.38 kB / 0.887 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.02058, allocations: 495.8 kB / 0.8874 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.02059, allocations: 192 / 0.8874 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.02062, allocations: 16.12 kB / 0.8875 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.02065, allocations: 8 kB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.02127, allocations: 419.5 kB / 0.8879 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.02263, allocations: 0.7701 MB / 0.8886 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.02303, allocations: 152.6 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.02315, allocations: 48.88 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009359/0.02409, allocations: 463.7 kB / 0.8893 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.02412, allocations: 38.56 kB / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.02413, allocations: 0 / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0006756/0.0248, allocations: 152.6 kB / 0.8894 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.02485, allocations: 55.41 kB / 0.8895 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.02505, allocations: 160.6 kB / 0.8896 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.02509, allocations: 29.7 kB / 0.8897 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.02521, allocations: 144.1 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.02527, allocations: 59.52 kB / 0.8899 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.02536, allocations: 49.66 kB / 0.8899 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.02555, allocations: 330.8 kB / 0.8902 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.02563, allocations: 43.97 kB / 0.8903 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.02581, allocations: 135 kB / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.02614, allocations: 205.4 kB / 0.8906 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.02615, allocations: 4 kB / 0.8906 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004183/0.02657, allocations: 224.1 kB / 0.8908 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.02659, allocations: 8 kB / 0.8908 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.0266, allocations: 4 kB / 0.8908 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.02663, allocations: 4 kB / 0.8908 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.02684, allocations: 59.91 kB / 0.8909 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.02685, allocations: 4 kB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.02698, allocations: 24.19 kB / 0.8909 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.02701, allocations: 16 kB / 0.8909 GB, free: 8.477 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001471/0.02716, allocations: 137.7 kB / 0.8911 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.02723, allocations: 27.89 kB / 0.8911 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.02757, allocations: 154.4 kB / 0.8912 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.02758, allocations: 4 kB / 0.8912 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.02759, allocations: 0 / 0.8912 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02759, allocations: 0 / 0.8912 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.02786, allocations: 157.2 kB / 0.8914 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.02786, allocations: 0 / 0.8914 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.02798, allocations: 31.98 kB / 0.8914 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.02799, allocations: 4 kB / 0.8914 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.028, allocations: 3.984 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.028, allocations: 4 kB / 0.8914 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.028, allocations: 3.938 kB / 0.8914 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.02833, allocations: 227.2 kB / 0.8917 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.0284, allocations: 27.91 kB / 0.8917 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.02843, allocations: 4 kB / 0.8917 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.02863, allocations: 11.98 kB / 0.8917 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.02866, allocations: 15.97 kB / 0.8917 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.02869, allocations: 8 kB / 0.8917 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001135/0.0288, allocations: 115.9 kB / 0.8918 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0288, allocations: 0 / 0.8918 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004437/0.02924, allocations: 91.69 kB / 0.8919 GB, free: 7.406 MB / 0.8542 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004055/0.02965, allocations: 183 kB / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.02994, allocations: 122.8 kB / 0.8922 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.02995, allocations: 4 kB / 0.8922 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.03002, allocations: 31.98 kB / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.03046, allocations: 52.78 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.03128, allocations: 317.4 kB / 0.8926 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.0314, allocations: 102.9 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.03157, allocations: 45.33 kB / 0.8927 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.03163, allocations: 28.48 kB / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.03163, allocations: 0 / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of Templates: time 0.008371/0.04, allocations: 3.144 MB / 0.8958 GB, free: 3.414 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.584651789045893]