Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.001271/0.001271, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001525/0.001525, allocations: 210.6 kB / 23 MB, free: 4.934 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [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.002055/0.002055, allocations: 78.78 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1507/0.4525, allocations: 119.6 MB / 1.444 GB, free: 8.918 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.4804, allocations: 20.24 MB / 1.464 GB, free: 4.613 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4805, allocations: 4 kB / 1.464 GB, free: 4.609 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.4808, allocations: 43.69 kB / 1.464 GB, free: 4.566 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.4811, allocations: 95.36 kB / 1.464 GB, free: 4.473 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01648/0.4976, allocations: 6.941 MB / 1.471 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.498, allocations: 251.9 kB / 1.471 GB, free: 13.29 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.498, allocations: 9.75 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.4984, allocations: 151.4 kB / 1.471 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.4985, allocations: 95.66 kB / 1.471 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.4986, allocations: 8 kB / 1.471 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02061/0.5192, allocations: 11.54 MB / 1.482 GB, free: 1.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.5193, allocations: 39.89 kB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.5194, allocations: 71.72 kB / 1.482 GB, free: 1.371 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.5321, allocations: 6.486 MB / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5321, allocations: 0 / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5321, allocations: 0 / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5321, allocations: 0 / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003095/0.5352, allocations: 1.163 MB / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5352, allocations: 8.031 kB / 1.49 GB, free: 9.664 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5363, allocations: 88.7 kB / 1.49 GB, free: 9.578 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.5366, allocations: 170.3 kB / 1.49 GB, free: 9.387 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5367, allocations: 24.11 kB / 1.49 GB, free: 9.363 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.5367, allocations: 12 kB / 1.49 GB, free: 9.352 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.5381, allocations: 0.6741 MB / 1.491 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5381, allocations: 0 / 1.491 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.5381, allocations: 8 kB / 1.491 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5382, allocations: 4 kB / 1.491 GB, free: 8.598 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.5395, allocations: 0.6088 MB / 1.491 GB, free: 7.988 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.5405, allocations: 0.6919 MB / 1.492 GB, free: 7.254 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.5414, allocations: 232.3 kB / 1.492 GB, free: 7.02 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.5416, allocations: 68.83 kB / 1.492 GB, free: 6.949 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08924/0.6308, allocations: 23.37 MB / 1.515 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.6308, allocations: 42.56 kB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.6308, allocations: 0 / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001922/0.6328, allocations: 411.8 kB / 1.516 GB, free: 15.08 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6328, allocations: 55.41 kB / 1.516 GB, free: 15.01 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6329, allocations: 134.8 kB / 1.516 GB, free: 14.87 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.633, allocations: 29.7 kB / 1.516 GB, free: 14.84 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.633, allocations: 112.5 kB / 1.516 GB, free: 14.72 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.6331, allocations: 87.23 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.6333, allocations: 73.66 kB / 1.516 GB, free: 14.56 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6334, allocations: 330.8 kB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.6336, allocations: 75.95 kB / 1.517 GB, free: 14.15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.6339, allocations: 137 kB / 1.517 GB, free: 14 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.6343, allocations: 218.8 kB / 1.517 GB, free: 13.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6343, allocations: 0 / 1.517 GB, free: 13.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008351/0.6352, allocations: 295.5 kB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6352, allocations: 8.156 kB / 1.517 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6352, allocations: 7.984 kB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.6352, allocations: 4 kB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.6356, allocations: 79.88 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6356, allocations: 0 / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6357, allocations: 23.84 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.6358, allocations: 19.98 kB / 1.517 GB, free: 13.34 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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.000146/0.6359, allocations: 138.2 kB / 1.517 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.6361, allocations: 15.91 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.639, allocations: 2.478 MB / 1.52 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.639, allocations: 7.984 kB / 1.52 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.639, allocations: 0 / 1.52 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.6391, allocations: 59.58 kB / 1.52 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.6392, allocations: 7.938 kB / 1.52 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.6395, allocations: 31.89 kB / 1.52 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.6395, allocations: 23.95 kB / 1.52 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009091/0.6404, allocations: 0.5428 MB / 1.521 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009181/0.6414, allocations: 0.6323 MB / 1.521 GB, free: 9.352 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002967/0.6416, allocations: 178 kB / 1.521 GB, free: 9.18 MB / 1.217 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.6417, allocations: 102.8 kB / 1.521 GB, free: 9.082 MB / 1.217 GB Notification: Performance of Backend: time 4.31e-07/0.6417, allocations: 4 kB / 1.521 GB, free: 9.078 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01096/0.6527, allocations: 2.279 MB / 1.524 GB, free: 6.789 MB / 1.217 GB Notification: Performance of SimCode: time 0.001071/0.6537, allocations: 0.9354 MB / 1.525 GB, free: 5.805 MB / 1.217 GB Notification: Performance of Templates: time 0.08532/0.7391, allocations: 63.54 MB / 1.587 GB, free: 6.203 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.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: 12.846511620002275]