Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 188.8 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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: 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_10_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_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 59.91 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9261, allocations: 160.8 MB / 1.219 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008198/0.9343, allocations: 4.487 MB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.9382, allocations: 2.702 MB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.9384, allocations: 1.5 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.9387, allocations: 48.02 kB / 1.226 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.9392, allocations: 99.56 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.941, allocations: 0.5096 MB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.9414, allocations: 237.3 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.9415, allocations: 7.281 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.943, allocations: 491.3 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.9433, allocations: 93.88 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.9433, allocations: 6.562 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.9449, allocations: 0.5456 MB / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.945, allocations: 36.81 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.9451, allocations: 82.98 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.9462, allocations: 355.4 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.9462, allocations: 1.531 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9462, allocations: 3.938 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.9462, allocations: 0 / 1.228 GB, free: 12.38 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.001054/0.9473, allocations: 0.4992 MB / 1.228 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9473, allocations: 9.531 kB / 1.228 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.9475, allocations: 29.52 kB / 1.228 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.9479, allocations: 200.8 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.948, allocations: 12.17 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.948, allocations: 22.27 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.9485, allocations: 253.1 kB / 1.229 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.9485, allocations: 11.98 kB / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.9485, allocations: 8 kB / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.9486, allocations: 13.52 kB / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.9492, allocations: 442.2 kB / 1.229 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.9512, allocations: 1.013 MB / 1.23 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.9516, allocations: 149.2 kB / 1.231 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.9518, allocations: 57.25 kB / 1.231 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.9541, allocations: 1.826 MB / 1.232 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.9541, allocations: 37.44 kB / 1.232 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.915e-06/0.9541, allocations: 0 / 1.232 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0004819/0.9546, allocations: 145.2 kB / 1.233 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.9547, allocations: 57.69 kB / 1.233 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.955, allocations: 174.4 kB / 1.233 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.955, allocations: 34.73 kB / 1.233 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.9552, allocations: 140.8 kB / 1.233 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.9553, allocations: 57.66 kB / 1.233 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.9554, allocations: 53.95 kB / 1.233 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.9557, allocations: 325.4 kB / 1.233 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.9558, allocations: 37.09 kB / 1.233 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.956, allocations: 142.3 kB / 1.234 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.9563, allocations: 199.3 kB / 1.234 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9563, allocations: 1.094 kB / 1.234 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005318/0.9569, allocations: 218.9 kB / 1.234 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.9569, allocations: 6.5 kB / 1.234 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.9569, allocations: 3.438 kB / 1.234 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.9569, allocations: 5.812 kB / 1.234 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.9572, allocations: 62.78 kB / 1.234 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.9573, allocations: 7.984 kB / 1.234 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.9575, allocations: 28.25 kB / 1.234 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.9575, allocations: 16 kB / 1.234 GB, free: 6.562 MB / 0.9356 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.0001858/0.9577, allocations: 141.6 kB / 1.234 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.9578, allocations: 19.84 kB / 1.234 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.9581, allocations: 162.8 kB / 1.234 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.9581, allocations: 3.938 kB / 1.234 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.9581, allocations: 0 / 1.234 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9581, allocations: 0 / 1.234 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.9585, allocations: 213.6 kB / 1.235 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9585, allocations: 4 kB / 1.235 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.9586, allocations: 23.94 kB / 1.235 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.9586, allocations: 0 / 1.235 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.9586, allocations: 11.98 kB / 1.235 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.9586, allocations: 3.938 kB / 1.235 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9586, allocations: 0 / 1.235 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.9589, allocations: 222 kB / 1.235 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.9591, allocations: 113 kB / 1.235 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.9591, allocations: 4 kB / 1.235 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.9593, allocations: 23.92 kB / 1.235 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.9593, allocations: 15.91 kB / 1.235 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.9593, allocations: 8 kB / 1.235 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001168/0.9595, allocations: 120 kB / 1.235 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9595, allocations: 0 / 1.235 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004636/0.9599, allocations: 83.84 kB / 1.235 GB, free: 5.316 MB / 0.9356 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.0004948/0.9604, allocations: 175 kB / 1.235 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.9607, allocations: 111.8 kB / 1.235 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9607, allocations: 0 / 1.235 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.416e-05/0.9608, allocations: 40.86 kB / 1.235 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.9613, allocations: 55.89 kB / 1.236 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.9622, allocations: 344.2 kB / 1.236 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.9626, allocations: 0.7128 MB / 1.237 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.9628, allocations: 53.67 kB / 1.237 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.9628, allocations: 23.44 kB / 1.237 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.9628, allocations: 0 / 1.237 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.009275/0.9721, allocations: 3.483 MB / 1.24 GB, free: 320 kB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.274530713446438]