Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.001433/0.001433, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001386/0.001386, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.559/1.559, allocations: 225.6 MB / 249.4 MB, free: 3.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_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_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003494/0.003494, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.218, allocations: 173.6 MB / 1.305 GB, free: 33.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005608/1.224, allocations: 4.795 MB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002264/1.226, allocations: 2.709 MB / 1.313 GB, free: 28.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/1.226, allocations: 0 / 1.313 GB, free: 28.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/1.226, allocations: 49.48 kB / 1.313 GB, free: 28.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/1.226, allocations: 105.1 kB / 1.313 GB, free: 28.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/1.228, allocations: 0.5081 MB / 1.313 GB, free: 27.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/1.228, allocations: 231.5 kB / 1.314 GB, free: 27.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/1.228, allocations: 7.312 kB / 1.314 GB, free: 27.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/1.228, allocations: 119 kB / 1.314 GB, free: 27.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/1.228, allocations: 100.7 kB / 1.314 GB, free: 27.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/1.228, allocations: 5.688 kB / 1.314 GB, free: 27.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/1.229, allocations: 378.8 kB / 1.314 GB, free: 27.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/1.229, allocations: 32.06 kB / 1.314 GB, free: 27.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/1.229, allocations: 86.59 kB / 1.314 GB, free: 27.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/1.23, allocations: 360.3 kB / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.23, allocations: 0 / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.23, allocations: 2.094 kB / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.23, allocations: 0 / 1.315 GB, free: 27.24 MB / 1.061 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.0007565/1.231, allocations: 0.5135 MB / 1.315 GB, free: 26.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.231, allocations: 8.656 kB / 1.315 GB, free: 26.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/1.231, allocations: 26.61 kB / 1.315 GB, free: 26.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/1.231, allocations: 212.1 kB / 1.315 GB, free: 26.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/1.231, allocations: 10.52 kB / 1.315 GB, free: 26.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/1.231, allocations: 20.05 kB / 1.315 GB, free: 26.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/1.232, allocations: 249.9 kB / 1.316 GB, free: 26.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.232, allocations: 6.719 kB / 1.316 GB, free: 26.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/1.232, allocations: 6.875 kB / 1.316 GB, free: 26.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/1.232, allocations: 10.03 kB / 1.316 GB, free: 26.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/1.232, allocations: 427.2 kB / 1.316 GB, free: 26.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/1.233, allocations: 0.9409 MB / 1.317 GB, free: 25.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/1.233, allocations: 152.6 kB / 1.317 GB, free: 25.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/1.233, allocations: 59.77 kB / 1.317 GB, free: 25.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009474/1.234, allocations: 1.828 MB / 1.319 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.234, allocations: 32.91 kB / 1.319 GB, free: 23.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/1.234, allocations: 2.594 kB / 1.319 GB, free: 23.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003295/1.235, allocations: 145.4 kB / 1.319 GB, free: 23.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/1.235, allocations: 58.77 kB / 1.319 GB, free: 23.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.235, allocations: 178.4 kB / 1.319 GB, free: 23.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.235, allocations: 29.64 kB / 1.319 GB, free: 23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/1.235, allocations: 151 kB / 1.32 GB, free: 22.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/1.235, allocations: 55.25 kB / 1.32 GB, free: 22.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/1.235, allocations: 51.25 kB / 1.32 GB, free: 22.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/1.235, allocations: 320.7 kB / 1.32 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/1.235, allocations: 39.52 kB / 1.32 GB, free: 22.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.235, allocations: 139.8 kB / 1.32 GB, free: 22.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/1.235, allocations: 196.7 kB / 1.32 GB, free: 22.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.235, allocations: 2.625 kB / 1.32 GB, free: 22.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002805/1.236, allocations: 216.4 kB / 1.321 GB, free: 22.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.236, allocations: 9.438 kB / 1.321 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.236, allocations: 2.625 kB / 1.321 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/1.236, allocations: 8.531 kB / 1.321 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.236, allocations: 50.67 kB / 1.321 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.236, allocations: 12.94 kB / 1.321 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/1.236, allocations: 38.28 kB / 1.321 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.236, allocations: 18.44 kB / 1.321 GB, free: 21.99 MB / 1.061 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.383e-05/1.236, allocations: 126.8 kB / 1.321 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/1.236, allocations: 15.78 kB / 1.321 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/1.236, allocations: 156 kB / 1.321 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.236, allocations: 9.844 kB / 1.321 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.236, allocations: 0 / 1.321 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.236, allocations: 2.625 kB / 1.321 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/1.237, allocations: 214.2 kB / 1.321 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.237, allocations: 2.625 kB / 1.321 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/1.237, allocations: 29.69 kB / 1.321 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.237, allocations: 0 / 1.321 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/1.237, allocations: 2.625 kB / 1.321 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.237, allocations: 3.938 kB / 1.321 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.237, allocations: 0 / 1.321 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.237, allocations: 222.4 kB / 1.321 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/1.237, allocations: 113.5 kB / 1.322 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.237, allocations: 4 kB / 1.322 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.237, allocations: 15.2 kB / 1.322 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/1.237, allocations: 16.72 kB / 1.322 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.237, allocations: 23.27 kB / 1.322 GB, free: 21.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.6e-05/1.237, allocations: 125.7 kB / 1.322 GB, free: 21.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.237, allocations: 0 / 1.322 GB, free: 21.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003599/1.238, allocations: 73 kB / 1.322 GB, free: 21.13 MB / 1.061 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.000309/1.238, allocations: 176.9 kB / 1.322 GB, free: 21.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002258/1.238, allocations: 113.8 kB / 1.322 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.238, allocations: 2.469 kB / 1.322 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/1.238, allocations: 45.69 kB / 1.322 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/1.239, allocations: 54.03 kB / 1.322 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/1.239, allocations: 354.9 kB / 1.323 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/1.239, allocations: 0.7117 MB / 1.323 GB, free: 20.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001314/1.24, allocations: 49.95 kB / 1.323 GB, free: 20.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/1.24, allocations: 22.31 kB / 1.323 GB, free: 20 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.24, allocations: 0 / 1.323 GB, free: 20 MB / 1.061 GB Notification: Performance of Templates: time 0.007519/1.247, allocations: 3.515 MB / 1.327 GB, free: 19.64 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.149907127954066]