Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00129/0.00129, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001465/0.001465, allocations: 215.8 kB / 23.01 MB, free: 4.57 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 66.97 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3093, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006705/0.316, allocations: 4.536 MB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.3193, allocations: 2.73 MB / 1.292 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.3194, allocations: 0 / 1.292 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3196, allocations: 51.66 kB / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.32, allocations: 95.38 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.3212, allocations: 0.515 MB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.3215, allocations: 235.9 kB / 1.293 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.3216, allocations: 9.75 kB / 1.293 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3228, allocations: 498.6 kB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3229, allocations: 91.59 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.323, allocations: 8 kB / 1.293 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.3241, allocations: 0.5497 MB / 1.294 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.3242, allocations: 35.89 kB / 1.294 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.3243, allocations: 83.58 kB / 1.294 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.3249, allocations: 358.9 kB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3249, allocations: 0 / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3249, allocations: 0 / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3249, allocations: 3.938 kB / 1.294 GB, free: 1.379 MB / 0.9825 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.0007982/0.3257, allocations: 445.4 kB / 1.295 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3257, allocations: 8.031 kB / 1.295 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3259, allocations: 24.84 kB / 1.295 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3262, allocations: 154.3 kB / 1.295 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3262, allocations: 12.7 kB / 1.295 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3262, allocations: 16.38 kB / 1.295 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.3266, allocations: 268.9 kB / 1.295 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3266, allocations: 0 / 1.295 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3267, allocations: 11.94 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.3267, allocations: 4 kB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.3272, allocations: 447.5 kB / 1.296 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3284, allocations: 0.9834 MB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3287, allocations: 148 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3288, allocations: 59.28 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.3296, allocations: 467.9 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3296, allocations: 38.5 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.3296, allocations: 0 / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003509/0.33, allocations: 145.5 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.33, allocations: 59.34 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3302, allocations: 167.9 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.3302, allocations: 29.7 kB / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3303, allocations: 144 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.3304, allocations: 59.52 kB / 1.298 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.3305, allocations: 57.66 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3306, allocations: 322.8 kB / 1.298 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.3307, allocations: 35.97 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3309, allocations: 146.9 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3311, allocations: 195.2 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3311, allocations: 0 / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003523/0.3315, allocations: 228.2 kB / 1.299 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3315, allocations: 4 kB / 1.299 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3315, allocations: 4 kB / 1.299 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3315, allocations: 8 kB / 1.299 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3317, allocations: 55.8 kB / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3317, allocations: 7.984 kB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3318, allocations: 23.84 kB / 1.299 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3318, allocations: 16 kB / 1.299 GB, free: 12.3 MB / 0.9981 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.0001221/0.332, allocations: 133.8 kB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.332, allocations: 15.91 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.3323, allocations: 162.8 kB / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3323, allocations: 3.938 kB / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3323, allocations: 0 / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3323, allocations: 0 / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3326, allocations: 188.6 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3326, allocations: 8 kB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.3327, allocations: 23.98 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3327, allocations: 4 kB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3327, allocations: 0 / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3327, allocations: 7.938 kB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3327, allocations: 0 / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.333, allocations: 227.3 kB / 1.3 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.333, allocations: 31.81 kB / 1.3 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3331, allocations: 4 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3333, allocations: 15.92 kB / 1.3 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.3333, allocations: 11.98 kB / 1.3 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.3333, allocations: 15.98 kB / 1.3 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.452e-05/0.3334, allocations: 120 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3334, allocations: 0 / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003897/0.3338, allocations: 75.86 kB / 1.3 GB, free: 11.2 MB / 0.9981 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.0003117/0.3341, allocations: 184.4 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3344, allocations: 119.1 kB / 1.3 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3344, allocations: 0 / 1.3 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.3344, allocations: 43.92 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3349, allocations: 51.02 kB / 1.3 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.3356, allocations: 377.8 kB / 1.301 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3359, allocations: 0.7129 MB / 1.301 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.336, allocations: 27.42 kB / 1.301 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.336, allocations: 0 / 1.301 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of Templates: time 0.005755/0.3417, allocations: 3.198 MB / 1.304 GB, free: 6.465 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.202664422016824]