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.001919/0.001919, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002639/0.002639, allocations: 165 kB / 22.46 MB, free: 5.359 MB / 14.72 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.881/2.881, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.272e-06/1.272e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.783e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006347/0.006375, allocations: 4.235 MB / 0.9856 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.009505, allocations: 2.445 MB / 0.988 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.009571, allocations: 4 kB / 0.988 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.009832, allocations: 47.62 kB / 0.988 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.01012, allocations: 103.3 kB / 0.9881 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.01139, allocations: 0.5264 MB / 0.9886 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.01168, allocations: 243.8 kB / 0.9889 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.01172, allocations: 13.8 kB / 0.9889 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.01295, allocations: 0.5102 MB / 0.9894 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.01308, allocations: 75.78 kB / 0.9894 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.01312, allocations: 11.94 kB / 0.9895 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.01413, allocations: 494.7 kB / 0.9899 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.237e-05/0.01421, allocations: 43.81 kB / 0.99 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.0143, allocations: 59.89 kB / 0.99 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.01491, allocations: 362.9 kB / 0.9904 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01492, allocations: 0 / 0.9904 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01492, allocations: 0 / 0.9904 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01492, allocations: 0 / 0.9904 GB, free: 2.766 MB / 0.9356 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.0007889/0.01571, allocations: 441.4 kB / 0.9908 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.01575, allocations: 12.02 kB / 0.9908 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.01592, allocations: 24.84 kB / 0.9908 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.01619, allocations: 149.6 kB / 0.991 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.01621, allocations: 12.7 kB / 0.991 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.01624, allocations: 24.23 kB / 0.991 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.01677, allocations: 463.1 kB / 0.9914 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.01678, allocations: 192 / 0.9914 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.01681, allocations: 12.12 kB / 0.9915 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.01684, allocations: 7.938 kB / 0.9915 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.01739, allocations: 427.5 kB / 0.9919 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01845, allocations: 0.825 MB / 0.9927 GB, free: 228 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.01879, allocations: 150 kB / 0.9928 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.0189, allocations: 60.81 kB / 0.9929 GB, free: 8 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008102/0.01971, allocations: 447.9 kB / 0.9933 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.01974, allocations: 34.56 kB / 0.9933 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.01974, allocations: 0 / 0.9933 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003536/0.02009, allocations: 141.5 kB / 0.9935 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.02013, allocations: 59.34 kB / 0.9935 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.02029, allocations: 166.4 kB / 0.9937 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.02032, allocations: 29.64 kB / 0.9937 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.02041, allocations: 144.1 kB / 0.9939 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.02046, allocations: 55.53 kB / 0.9939 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.02054, allocations: 57.64 kB / 0.994 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.02068, allocations: 326.8 kB / 0.9943 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.02076, allocations: 35.98 kB / 0.9943 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.02091, allocations: 137.7 kB / 0.9944 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.02118, allocations: 201.4 kB / 0.9946 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.02118, allocations: 4 kB / 0.9946 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003595/0.02154, allocations: 204 kB / 0.9948 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.02156, allocations: 8 kB / 0.9948 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02157, allocations: 4.469 kB / 0.9948 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.02159, allocations: 15.97 kB / 0.9949 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.02179, allocations: 59.92 kB / 0.9949 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.0218, allocations: 7.938 kB / 0.9949 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.02192, allocations: 31.77 kB / 0.995 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.02194, allocations: 12 kB / 0.995 GB, free: 13.68 MB / 0.9512 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.0001207/0.02206, allocations: 133.7 kB / 0.9951 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.02211, allocations: 15.91 kB / 0.9951 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.02244, allocations: 142.3 kB / 0.9952 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.02245, allocations: 7.938 kB / 0.9953 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.02246, allocations: 0 / 0.9953 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02246, allocations: 7.984 kB / 0.9953 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.02269, allocations: 157.1 kB / 0.9954 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.02269, allocations: 0 / 0.9954 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.02282, allocations: 31.92 kB / 0.9954 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.02282, allocations: 0 / 0.9954 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.02284, allocations: 11.94 kB / 0.9954 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.02284, allocations: 0 / 0.9954 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02284, allocations: 0 / 0.9954 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.02311, allocations: 220.5 kB / 0.9957 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.02318, allocations: 31.91 kB / 0.9957 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.0232, allocations: 4 kB / 0.9957 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.02343, allocations: 19.92 kB / 0.9957 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.02346, allocations: 7.984 kB / 0.9957 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.02348, allocations: 16 kB / 0.9957 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.895e-05/0.02357, allocations: 119.4 kB / 0.9959 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02357, allocations: 0 / 0.9959 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004029/0.02397, allocations: 87.75 kB / 0.9959 GB, free: 12.62 MB / 0.9512 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.0003382/0.02431, allocations: 191.5 kB / 0.9961 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.02456, allocations: 111.8 kB / 0.9962 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.02456, allocations: 4 kB / 0.9962 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.02464, allocations: 45.12 kB / 0.9963 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.02505, allocations: 40.84 kB / 0.9963 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.02571, allocations: 306.3 kB / 0.9966 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.02581, allocations: 102.9 kB / 0.9967 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.02595, allocations: 37.28 kB / 0.9967 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.026, allocations: 24.5 kB / 0.9968 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.026, allocations: 4 kB / 0.9968 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.007273/0.03327, allocations: 3.048 MB / 0.9997 GB, free: 8.746 MB / 0.9512 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: 8.45992036908865]