Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001702/0.001702, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002436/0.002436, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.559/1.559, 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.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.58 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.WaterProperties,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.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.WaterProperties") [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.002179/0.002179, allocations: 68.17 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005041/1.036, allocations: 4.497 MB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002092/1.038, allocations: 2.47 MB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/1.038, allocations: 0 / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/1.038, allocations: 48.69 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/1.038, allocations: 97.64 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/1.04, allocations: 0.5265 MB / 1.161 GB, free: 28.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/1.04, allocations: 237.2 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/1.04, allocations: 15.12 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/1.04, allocations: 114.7 kB / 1.162 GB, free: 28.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/1.04, allocations: 87.69 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/1.04, allocations: 7.656 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/1.041, allocations: 318.6 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/1.041, allocations: 30.89 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/1.041, allocations: 75.72 kB / 1.162 GB, free: 27.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/1.041, allocations: 353.6 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.041, allocations: 0 / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.804e-06/1.041, allocations: 4 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.041, allocations: 0 / 1.163 GB, free: 27.75 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.0006977/1.042, allocations: 445.9 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.042, allocations: 8.594 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/1.042, allocations: 23.09 kB / 1.163 GB, free: 27.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/1.042, allocations: 155.5 kB / 1.163 GB, free: 27.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.042, allocations: 14.5 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/1.042, allocations: 20.97 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/1.043, allocations: 481.5 kB / 1.164 GB, free: 26.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.043, allocations: 0 / 1.164 GB, free: 26.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/1.043, allocations: 18.27 kB / 1.164 GB, free: 26.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/1.043, allocations: 9.688 kB / 1.164 GB, free: 26.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/1.043, allocations: 422.3 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/1.044, allocations: 0.7719 MB / 1.165 GB, free: 26.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/1.045, allocations: 148.2 kB / 1.165 GB, free: 26.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/1.045, allocations: 56.14 kB / 1.165 GB, free: 25.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/1.045, allocations: 452.2 kB / 1.165 GB, free: 25.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/1.045, allocations: 40.69 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/1.045, allocations: 3.938 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.00032/1.046, allocations: 140.2 kB / 1.166 GB, free: 25.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/1.046, allocations: 53.66 kB / 1.166 GB, free: 25.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.046, allocations: 162.2 kB / 1.166 GB, free: 25.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/1.046, allocations: 27.48 kB / 1.166 GB, free: 25.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/1.046, allocations: 152.9 kB / 1.166 GB, free: 25.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.046, allocations: 55.47 kB / 1.166 GB, free: 25.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/1.046, allocations: 52.19 kB / 1.166 GB, free: 25.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.62e-05/1.046, allocations: 333.3 kB / 1.166 GB, free: 24.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/1.046, allocations: 38.7 kB / 1.167 GB, free: 24.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/1.046, allocations: 140.9 kB / 1.167 GB, free: 24.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/1.046, allocations: 201 kB / 1.167 GB, free: 24.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.046, allocations: 0 / 1.167 GB, free: 24.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002985/1.047, allocations: 214.6 kB / 1.167 GB, free: 24.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.047, allocations: 8.625 kB / 1.167 GB, free: 24.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.047, allocations: 6.672 kB / 1.167 GB, free: 24.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.047, allocations: 5.562 kB / 1.167 GB, free: 24.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/1.047, allocations: 60.31 kB / 1.167 GB, free: 24.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.047, allocations: 9.688 kB / 1.167 GB, free: 24.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/1.047, allocations: 25.94 kB / 1.167 GB, free: 24.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/1.047, allocations: 19.25 kB / 1.167 GB, free: 24.32 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 9.589e-05/1.047, allocations: 134.5 kB / 1.167 GB, free: 24.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/1.047, allocations: 16.09 kB / 1.167 GB, free: 24.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/1.047, allocations: 144.4 kB / 1.167 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.047, allocations: 2.812 kB / 1.167 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.047, allocations: 3.938 kB / 1.167 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.047, allocations: 0 / 1.167 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/1.048, allocations: 158.1 kB / 1.168 GB, free: 23.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.048, allocations: 0 / 1.168 GB, free: 23.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.048, allocations: 42.48 kB / 1.168 GB, free: 23.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.048, allocations: 4 kB / 1.168 GB, free: 23.94 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.048, allocations: 2.75 kB / 1.168 GB, free: 23.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.048, allocations: 0 / 1.168 GB, free: 23.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.048, allocations: 0 / 1.168 GB, free: 23.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/1.048, allocations: 224.6 kB / 1.168 GB, free: 23.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/1.048, allocations: 29.53 kB / 1.168 GB, free: 23.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/1.048, allocations: 6.781 kB / 1.168 GB, free: 23.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.048, allocations: 12.91 kB / 1.168 GB, free: 23.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/1.048, allocations: 12.69 kB / 1.168 GB, free: 23.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/1.048, allocations: 13.34 kB / 1.168 GB, free: 23.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.417e-05/1.048, allocations: 117.3 kB / 1.168 GB, free: 23.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.048, allocations: 3.938 kB / 1.168 GB, free: 23.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003639/1.049, allocations: 89.16 kB / 1.168 GB, free: 23.63 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.0002617/1.049, allocations: 174.5 kB / 1.168 GB, free: 23.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002076/1.049, allocations: 110.3 kB / 1.168 GB, free: 23.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.049, allocations: 0 / 1.168 GB, free: 23.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/1.049, allocations: 48.06 kB / 1.168 GB, free: 23.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/1.05, allocations: 42.05 kB / 1.168 GB, free: 23.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/1.05, allocations: 343.9 kB / 1.169 GB, free: 23.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/1.05, allocations: 104.7 kB / 1.169 GB, free: 23.17 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001369/1.05, allocations: 47.77 kB / 1.169 GB, free: 23.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/1.05, allocations: 25.66 kB / 1.169 GB, free: 23.13 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/1.05, allocations: 0 / 1.169 GB, free: 23.13 MB / 1.076 GB Notification: Performance of Templates: time 0.006476/1.057, allocations: 3.113 MB / 1.172 GB, free: 22.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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.334739948972128]