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.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.001598/0.001598, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001618/0.001618, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.41/1.41, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.943/2.943, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 61.48 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.314, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1574/0.4714, allocations: 136.5 MB / 1.441 GB, free: 8.703 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02825/0.4996, allocations: 22.82 MB / 1.463 GB, free: 1.809 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.4998, allocations: 0 / 1.463 GB, free: 1.809 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.5, allocations: 51.67 kB / 1.463 GB, free: 1.758 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.5003, allocations: 103.3 kB / 1.463 GB, free: 1.656 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01599/0.5163, allocations: 6.965 MB / 1.47 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.5167, allocations: 251.9 kB / 1.47 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.5168, allocations: 5.75 kB / 1.47 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.5171, allocations: 155.4 kB / 1.47 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.5173, allocations: 87.66 kB / 1.47 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.5173, allocations: 8 kB / 1.47 GB, free: 10.2 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/0.5378, allocations: 11.68 MB / 1.482 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.5379, allocations: 39.89 kB / 1.482 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.5381, allocations: 83.64 kB / 1.482 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.5515, allocations: 6.497 MB / 1.488 GB, free: 7.867 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5515, allocations: 0 / 1.488 GB, free: 7.867 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5515, allocations: 0 / 1.488 GB, free: 7.867 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5516, allocations: 0 / 1.488 GB, free: 7.867 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.003118/0.5547, allocations: 1.163 MB / 1.489 GB, free: 6.668 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5547, allocations: 8.031 kB / 1.489 GB, free: 6.66 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009986/0.5557, allocations: 88.75 kB / 1.489 GB, free: 6.574 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.556, allocations: 174.2 kB / 1.49 GB, free: 6.379 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.556, allocations: 16.06 kB / 1.49 GB, free: 6.363 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.556, allocations: 16 kB / 1.49 GB, free: 6.348 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5572, allocations: 472.8 kB / 1.49 GB, free: 5.867 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5572, allocations: 0 / 1.49 GB, free: 5.867 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.5572, allocations: 15.94 kB / 1.49 GB, free: 5.852 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5572, allocations: 4 kB / 1.49 GB, free: 5.848 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5584, allocations: 0.6127 MB / 1.491 GB, free: 5.234 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.5595, allocations: 0.8541 MB / 1.492 GB, free: 4.301 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.5603, allocations: 234.3 kB / 1.492 GB, free: 4.062 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.5604, allocations: 64.83 kB / 1.492 GB, free: 3.996 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07587/0.6363, allocations: 23.09 MB / 1.514 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.6363, allocations: 38.56 kB / 1.514 GB, free: 12.82 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.6363, allocations: 0 / 1.514 GB, free: 12.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.00168/0.638, allocations: 427 kB / 1.515 GB, free: 12.39 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.638, allocations: 55.41 kB / 1.515 GB, free: 12.33 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6382, allocations: 143.8 kB / 1.515 GB, free: 12.18 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.6382, allocations: 33.7 kB / 1.515 GB, free: 12.14 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.6383, allocations: 112.4 kB / 1.515 GB, free: 12.03 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.6384, allocations: 83.23 kB / 1.515 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6385, allocations: 81.66 kB / 1.515 GB, free: 11.86 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6386, allocations: 330.8 kB / 1.516 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.6388, allocations: 79.95 kB / 1.516 GB, free: 11.45 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.639, allocations: 137.1 kB / 1.516 GB, free: 11.3 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.6395, allocations: 220.3 kB / 1.516 GB, free: 11.07 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6395, allocations: 4 kB / 1.516 GB, free: 11.06 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007311/0.6402, allocations: 297.3 kB / 1.516 GB, free: 10.77 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6402, allocations: 12.16 kB / 1.516 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6402, allocations: 3.984 kB / 1.516 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6402, allocations: 7.938 kB / 1.516 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.6405, allocations: 79.88 kB / 1.516 GB, free: 10.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.6405, allocations: 4 kB / 1.516 GB, free: 10.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.6407, allocations: 23.78 kB / 1.516 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.6407, allocations: 23.98 kB / 1.516 GB, free: 10.61 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.0001256/0.6408, allocations: 133.7 kB / 1.517 GB, free: 10.47 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.641, allocations: 19.91 kB / 1.517 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.6435, allocations: 2.479 MB / 1.519 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.6436, allocations: 11.98 kB / 1.519 GB, free: 7.949 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6436, allocations: 0 / 1.519 GB, free: 7.949 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6436, allocations: 3.938 kB / 1.519 GB, free: 7.945 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.6471, allocations: 3.602 MB / 1.523 GB, free: 4.238 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6471, allocations: 0 / 1.523 GB, free: 4.238 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.6473, allocations: 55.89 kB / 1.523 GB, free: 4.184 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.6473, allocations: 4 kB / 1.523 GB, free: 4.18 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.6473, allocations: 15.92 kB / 1.523 GB, free: 4.164 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.6473, allocations: 4 kB / 1.523 GB, free: 4.16 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6473, allocations: 0 / 1.523 GB, free: 4.16 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.6481, allocations: 0.552 MB / 1.523 GB, free: 3.594 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.6482, allocations: 71.5 kB / 1.523 GB, free: 3.523 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.6482, allocations: 15.88 kB / 1.523 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6484, allocations: 11.98 kB / 1.523 GB, free: 3.496 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.6485, allocations: 23.97 kB / 1.523 GB, free: 3.473 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.6485, allocations: 12 kB / 1.523 GB, free: 3.461 MB / 1.217 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.6486, allocations: 109.4 kB / 1.523 GB, free: 3.355 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6486, allocations: 0 / 1.523 GB, free: 3.355 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003693/0.6523, allocations: 1.711 MB / 1.525 GB, free: 1.641 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006059/0.6583, allocations: 1.943 MB / 1.527 GB, free: 15.69 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006027/0.659, allocations: 327.3 kB / 1.527 GB, free: 15.37 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.659, allocations: 0 / 1.527 GB, free: 15.37 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.6592, allocations: 196.5 kB / 1.527 GB, free: 15.18 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.6597, allocations: 64.2 kB / 1.528 GB, free: 15.11 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.6607, allocations: 0.6559 MB / 1.528 GB, free: 14.43 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.6611, allocations: 0.766 MB / 1.529 GB, free: 13.64 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005283/0.6616, allocations: 409 kB / 1.529 GB, free: 13.23 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.6617, allocations: 43.41 kB / 1.529 GB, free: 13.19 MB / 1.232 GB Notification: Performance of SimCode: time 4.31e-07/0.6617, allocations: 0 / 1.529 GB, free: 13.19 MB / 1.232 GB Notification: Performance of Templates: time 0.07318/0.7349, allocations: 59.75 MB / 1.588 GB, free: 1.402 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/jenkins/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.382503326050937]