Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.0007839/0.0007839, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007955/0.0007955, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8517/0.8517, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.717/1.717, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.PropyleneGlycolWaterProperties,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_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.279e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004154/0.004177, allocations: 4.227 MB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.005832, allocations: 2.457 MB / 0.9887 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.005888, allocations: 0 / 0.9887 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.006132, allocations: 47.62 kB / 0.9888 GB, free: 11.33 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.006354, allocations: 99.3 kB / 0.9889 GB, free: 11.23 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.007071, allocations: 0.5224 MB / 0.9894 GB, free: 10.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.007273, allocations: 243.8 kB / 0.9896 GB, free: 10.47 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.007318, allocations: 17.8 kB / 0.9896 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009611/0.008279, allocations: 0.5219 MB / 0.9901 GB, free: 9.934 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.00837, allocations: 75.77 kB / 0.9902 GB, free: 9.859 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.008391, allocations: 8 kB / 0.9902 GB, free: 9.852 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005721/0.008963, allocations: 486.8 kB / 0.9907 GB, free: 9.375 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.009025, allocations: 35.88 kB / 0.9907 GB, free: 9.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.009076, allocations: 59.84 kB / 0.9908 GB, free: 9.281 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.009487, allocations: 374.9 kB / 0.9911 GB, free: 8.914 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.009491, allocations: 7.875 kB / 0.9911 GB, free: 8.906 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.009492, allocations: 4 kB / 0.9911 GB, free: 8.902 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.009497, allocations: 0 / 0.9911 GB, free: 8.902 MB / 0.948 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.0005726/0.01007, allocations: 437.5 kB / 0.9916 GB, free: 8.441 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.0101, allocations: 8.031 kB / 0.9916 GB, free: 8.434 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.01022, allocations: 24.83 kB / 0.9916 GB, free: 8.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.01042, allocations: 153.6 kB / 0.9917 GB, free: 8.234 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.01044, allocations: 8.703 kB / 0.9918 GB, free: 8.227 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.01045, allocations: 16.38 kB / 0.9918 GB, free: 8.211 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.01078, allocations: 467 kB / 0.9922 GB, free: 7.684 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01079, allocations: 4.188 kB / 0.9922 GB, free: 7.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.01081, allocations: 12.12 kB / 0.9922 GB, free: 7.668 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.01083, allocations: 11.98 kB / 0.9922 GB, free: 7.656 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.01115, allocations: 419.5 kB / 0.9926 GB, free: 7.246 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.01187, allocations: 0.8328 MB / 0.9935 GB, free: 6.363 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.01212, allocations: 153.3 kB / 0.9936 GB, free: 6.207 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.186e-05/0.01219, allocations: 52.88 kB / 0.9937 GB, free: 6.152 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.01265, allocations: 447.9 kB / 0.9941 GB, free: 5.695 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.01267, allocations: 38.56 kB / 0.9941 GB, free: 5.648 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.01267, allocations: 0 / 0.9941 GB, free: 5.648 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002571/0.01293, allocations: 145.5 kB / 0.9943 GB, free: 5.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.01296, allocations: 55.41 kB / 0.9943 GB, free: 5.434 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.01306, allocations: 160.4 kB / 0.9945 GB, free: 5.266 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.01307, allocations: 33.7 kB / 0.9945 GB, free: 5.227 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.01314, allocations: 144.1 kB / 0.9946 GB, free: 5.082 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01316, allocations: 51.53 kB / 0.9947 GB, free: 5.031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.01321, allocations: 49.66 kB / 0.9947 GB, free: 4.977 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.01329, allocations: 334.8 kB / 0.995 GB, free: 4.641 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.01334, allocations: 35.98 kB / 0.9951 GB, free: 4.605 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.01343, allocations: 141.6 kB / 0.9952 GB, free: 4.418 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01358, allocations: 196.4 kB / 0.9954 GB, free: 4.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01359, allocations: 4 kB / 0.9954 GB, free: 4.176 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002147/0.0138, allocations: 205.2 kB / 0.9956 GB, free: 3.969 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01382, allocations: 8 kB / 0.9956 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01383, allocations: 7.984 kB / 0.9956 GB, free: 3.953 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01384, allocations: 7.938 kB / 0.9956 GB, free: 3.945 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01395, allocations: 59.91 kB / 0.9957 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.01396, allocations: 8 kB / 0.9957 GB, free: 3.879 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.01403, allocations: 32.2 kB / 0.9957 GB, free: 3.848 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.01404, allocations: 19.98 kB / 0.9957 GB, free: 3.828 MB / 0.948 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 7.875e-05/0.01412, allocations: 133.7 kB / 0.9959 GB, free: 3.688 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.01415, allocations: 11.91 kB / 0.9959 GB, free: 3.676 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.01436, allocations: 158.2 kB / 0.996 GB, free: 3.508 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.01436, allocations: 0 / 0.996 GB, free: 3.508 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01437, allocations: 0 / 0.996 GB, free: 3.508 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01437, allocations: 7.984 kB / 0.996 GB, free: 3.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.01451, allocations: 161.1 kB / 0.9962 GB, free: 3.312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01451, allocations: 0 / 0.9962 GB, free: 3.312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.01457, allocations: 31.98 kB / 0.9962 GB, free: 3.281 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01458, allocations: 4 kB / 0.9962 GB, free: 3.277 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.01458, allocations: 4 kB / 0.9962 GB, free: 3.273 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01458, allocations: 3.938 kB / 0.9962 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01459, allocations: 0 / 0.9962 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.01474, allocations: 222.5 kB / 0.9964 GB, free: 3.039 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.01479, allocations: 27.86 kB / 0.9965 GB, free: 3.012 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.0148, allocations: 7.984 kB / 0.9965 GB, free: 3.004 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.01491, allocations: 15.98 kB / 0.9965 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.01493, allocations: 7.984 kB / 0.9965 GB, free: 2.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01494, allocations: 8 kB / 0.9965 GB, free: 2.973 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.01499, allocations: 119.3 kB / 0.9966 GB, free: 2.855 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01499, allocations: 0 / 0.9966 GB, free: 2.855 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002683/0.01525, allocations: 83.81 kB / 0.9967 GB, free: 2.773 MB / 0.948 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.0003924/0.01565, allocations: 195.5 kB / 0.9969 GB, free: 2.574 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01582, allocations: 112.5 kB / 0.997 GB, free: 2.465 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01582, allocations: 3.938 kB / 0.997 GB, free: 2.461 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.139e-05/0.01586, allocations: 43.92 kB / 0.997 GB, free: 2.418 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.01613, allocations: 35.91 kB / 0.9971 GB, free: 2.383 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.01662, allocations: 336.2 kB / 0.9974 GB, free: 2.023 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.01669, allocations: 98.92 kB / 0.9975 GB, free: 1.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.01673, allocations: 28.5 kB / 0.9975 GB, free: 1.883 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01673, allocations: 7.938 kB / 0.9975 GB, free: 1.875 MB / 0.948 GB Notification: Performance of Templates: time 0.003629/0.02036, allocations: 3.132 MB / 1.001 GB, free: 14.76 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 6.593060678802431]