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.001361/0.001361, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001493/0.001493, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.834/2.834, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002062/0.002062, allocations: 63.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328/1.33, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008382/1.338, allocations: 4.239 MB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003639/1.342, allocations: 2.445 MB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/1.342, allocations: 2.812 kB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004075/1.342, allocations: 45.53 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004293/1.343, allocations: 103.9 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/1.345, allocations: 0.5083 MB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/1.345, allocations: 239.6 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.653e-05/1.345, allocations: 18.48 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/1.347, allocations: 483.9 kB / 1.162 GB, free: 28.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/1.347, allocations: 89.77 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/1.347, allocations: 12.94 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/1.349, allocations: 480 kB / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/1.349, allocations: 36.08 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/1.349, allocations: 67.62 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007999/1.35, allocations: 349 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.35, allocations: 3.938 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.134e-06/1.35, allocations: 4 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.35, allocations: 0 / 1.163 GB, free: 27.83 MB / 1.076 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.0009631/1.351, allocations: 441 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.351, allocations: 11.34 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/1.351, allocations: 20.22 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/1.351, allocations: 158.6 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.351, allocations: 9.984 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/1.351, allocations: 15.28 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/1.352, allocations: 468.4 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.352, allocations: 4 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/1.352, allocations: 6.969 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/1.352, allocations: 5.625 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/1.353, allocations: 423.1 kB / 1.164 GB, free: 26.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/1.354, allocations: 0.8282 MB / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/1.355, allocations: 152.9 kB / 1.165 GB, free: 26.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/1.355, allocations: 50.44 kB / 1.165 GB, free: 26.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.356, allocations: 458.6 kB / 1.166 GB, free: 25.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.356, allocations: 37.16 kB / 1.166 GB, free: 25.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 3.577e-06/1.356, allocations: 3.984 kB / 1.166 GB, free: 25.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0005032/1.356, allocations: 143.1 kB / 1.166 GB, free: 25.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/1.356, allocations: 54.25 kB / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/1.356, allocations: 165 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/1.356, allocations: 32.66 kB / 1.166 GB, free: 25.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/1.357, allocations: 147.3 kB / 1.166 GB, free: 25.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/1.357, allocations: 55.7 kB / 1.166 GB, free: 25.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/1.357, allocations: 52.41 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/1.357, allocations: 328.6 kB / 1.167 GB, free: 24.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/1.357, allocations: 34.06 kB / 1.167 GB, free: 24.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/1.357, allocations: 136.9 kB / 1.167 GB, free: 24.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/1.357, allocations: 200.4 kB / 1.167 GB, free: 24.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.882e-06/1.357, allocations: 1.719 kB / 1.167 GB, free: 24.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004943/1.358, allocations: 216.2 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.358, allocations: 5.25 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.358, allocations: 9.188 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.358, allocations: 5.25 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/1.358, allocations: 59.27 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/1.358, allocations: 16.5 kB / 1.167 GB, free: 24.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/1.358, allocations: 24.19 kB / 1.167 GB, free: 24.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/1.358, allocations: 18.5 kB / 1.167 GB, free: 24.36 MB / 1.076 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.0001311/1.359, allocations: 140.5 kB / 1.168 GB, free: 24.22 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/1.359, allocations: 19.72 kB / 1.168 GB, free: 24.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/1.359, allocations: 145.1 kB / 1.168 GB, free: 24.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.359, allocations: 6.562 kB / 1.168 GB, free: 24.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.359, allocations: 3.938 kB / 1.168 GB, free: 24.13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.359, allocations: 3.469 kB / 1.168 GB, free: 24.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/1.359, allocations: 150.5 kB / 1.168 GB, free: 23.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.359, allocations: 4 kB / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/1.36, allocations: 35 kB / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.36, allocations: 0 / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.36, allocations: 2.625 kB / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.36, allocations: 3.375 kB / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.36, allocations: 2.625 kB / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/1.36, allocations: 217.6 kB / 1.168 GB, free: 23.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/1.36, allocations: 34.08 kB / 1.168 GB, free: 23.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/1.36, allocations: 6.625 kB / 1.168 GB, free: 23.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/1.36, allocations: 15.28 kB / 1.168 GB, free: 23.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/1.36, allocations: 16.14 kB / 1.168 GB, free: 23.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/1.36, allocations: 13.47 kB / 1.168 GB, free: 23.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.663e-05/1.36, allocations: 112.8 kB / 1.168 GB, free: 23.69 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.36, allocations: 0 / 1.168 GB, free: 23.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007143/1.361, allocations: 81.89 kB / 1.168 GB, free: 23.67 MB / 1.076 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.0003929/1.362, allocations: 174.2 kB / 1.169 GB, free: 23.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003654/1.362, allocations: 121.5 kB / 1.169 GB, free: 23.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.362, allocations: 6.609 kB / 1.169 GB, free: 23.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/1.362, allocations: 41.52 kB / 1.169 GB, free: 23.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/1.363, allocations: 34.67 kB / 1.169 GB, free: 23.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/1.364, allocations: 348.1 kB / 1.169 GB, free: 23.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/1.364, allocations: 105.2 kB / 1.169 GB, free: 23.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002198/1.364, allocations: 46.95 kB / 1.169 GB, free: 23.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/1.364, allocations: 23.34 kB / 1.169 GB, free: 23.16 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.364, allocations: 2.688 kB / 1.169 GB, free: 23.16 MB / 1.076 GB Notification: Performance of Templates: time 0.01077/1.375, allocations: 3.038 MB / 1.172 GB, free: 22.71 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.79640670097433]