Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001283/0.001283, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001383/0.001383, allocations: 186.2 kB / 22.22 MB, free: 5.102 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.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8786, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1982/1.077, allocations: 136.5 MB / 1.352 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03262/1.109, allocations: 22.84 MB / 1.374 GB, free: 7.344 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/1.11, allocations: 0 / 1.374 GB, free: 7.344 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/1.11, allocations: 47.67 kB / 1.374 GB, free: 7.297 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/1.11, allocations: 107.3 kB / 1.374 GB, free: 7.191 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.02214/1.133, allocations: 6.966 MB / 1.381 GB, free: 248 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005208/1.133, allocations: 256 kB / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/1.133, allocations: 5.75 kB / 1.381 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/1.134, allocations: 155.3 kB / 1.381 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/1.134, allocations: 91.66 kB / 1.382 GB, free: 15.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/1.134, allocations: 8 kB / 1.382 GB, free: 15.74 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02664/1.16, allocations: 11.69 MB / 1.393 GB, free: 4.035 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/1.161, allocations: 31.91 kB / 1.393 GB, free: 4.004 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/1.161, allocations: 83.66 kB / 1.393 GB, free: 3.922 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02034/1.181, allocations: 6.49 MB / 1.399 GB, free: 13.42 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.181, allocations: 0 / 1.399 GB, free: 13.42 MB / 1.108 GB Notification: Performance of FrontEnd: time 4.038e-06/1.181, allocations: 7.938 kB / 1.399 GB, free: 13.41 MB / 1.108 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.181, allocations: 0 / 1.399 GB, free: 13.41 MB / 1.108 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.005087/1.186, allocations: 1.244 MB / 1.401 GB, free: 12.11 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/1.186, allocations: 12.03 kB / 1.401 GB, free: 12.1 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/1.188, allocations: 88.75 kB / 1.401 GB, free: 12.02 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/1.188, allocations: 220.1 kB / 1.401 GB, free: 11.76 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.188, allocations: 16.12 kB / 1.401 GB, free: 11.75 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/1.188, allocations: 12 kB / 1.401 GB, free: 11.73 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/1.189, allocations: 480.5 kB / 1.401 GB, free: 11.25 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.189, allocations: 4 kB / 1.401 GB, free: 11.24 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/1.189, allocations: 8 kB / 1.401 GB, free: 11.23 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.189, allocations: 4 kB / 1.401 GB, free: 11.23 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/1.191, allocations: 0.6205 MB / 1.402 GB, free: 10.61 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/1.192, allocations: 0.8861 MB / 1.403 GB, free: 9.637 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/1.193, allocations: 237.8 kB / 1.403 GB, free: 9.398 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/1.193, allocations: 69.27 kB / 1.403 GB, free: 9.328 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08894/1.282, allocations: 35.42 MB / 1.438 GB, free: 2.801 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/1.282, allocations: 42.55 kB / 1.438 GB, free: 2.75 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/1.282, allocations: 0 / 1.438 GB, free: 2.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.001913/1.284, allocations: 421.4 kB / 1.438 GB, free: 2.332 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/1.284, allocations: 51.41 kB / 1.438 GB, free: 2.27 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/1.284, allocations: 152 kB / 1.438 GB, free: 2.113 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/1.284, allocations: 29.7 kB / 1.438 GB, free: 2.078 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/1.284, allocations: 108.4 kB / 1.439 GB, free: 1.969 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.284, allocations: 95.22 kB / 1.439 GB, free: 1.875 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.284, allocations: 73.66 kB / 1.439 GB, free: 1.797 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.284, allocations: 330.8 kB / 1.439 GB, free: 1.465 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/1.285, allocations: 79.95 kB / 1.439 GB, free: 1.387 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/1.285, allocations: 129.1 kB / 1.439 GB, free: 1.242 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/1.285, allocations: 222.9 kB / 1.439 GB, free: 1.008 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.285, allocations: 3.938 kB / 1.439 GB, free: 1.004 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008738/1.286, allocations: 303.8 kB / 1.44 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.286, allocations: 8.031 kB / 1.44 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.286, allocations: 0 / 1.44 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.286, allocations: 4 kB / 1.44 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.287, allocations: 75.94 kB / 1.44 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.287, allocations: 11.94 kB / 1.44 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/1.287, allocations: 23.78 kB / 1.44 GB, free: 0.582 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/1.287, allocations: 27.98 kB / 1.44 GB, free: 0.5547 MB / 1.139 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.0001656/1.287, allocations: 133.7 kB / 1.44 GB, free: 424 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.287, allocations: 19.91 kB / 1.44 GB, free: 404 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/1.29, allocations: 2.479 MB / 1.442 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.29, allocations: 15.97 kB / 1.442 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.29, allocations: 0 / 1.442 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.29, allocations: 7.938 kB / 1.442 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/1.294, allocations: 3.626 MB / 1.446 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.294, allocations: 0 / 1.446 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/1.294, allocations: 63.83 kB / 1.446 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.295, allocations: 0 / 1.446 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/1.295, allocations: 19.92 kB / 1.446 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.295, allocations: 0 / 1.446 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.295, allocations: 0 / 1.446 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/1.295, allocations: 0.5513 MB / 1.447 GB, free: 9.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/1.296, allocations: 140.7 kB / 1.447 GB, free: 9.344 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/1.296, allocations: 11.94 kB / 1.447 GB, free: 9.332 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/1.296, allocations: 11.98 kB / 1.447 GB, free: 9.32 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/1.296, allocations: 27.91 kB / 1.447 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/1.296, allocations: 15.98 kB / 1.447 GB, free: 9.277 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001043/1.296, allocations: 103.3 kB / 1.447 GB, free: 9.176 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.296, allocations: 0 / 1.447 GB, free: 9.176 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005814/1.302, allocations: 1.711 MB / 1.449 GB, free: 7.461 MB / 1.154 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.01003/1.312, allocations: 1.943 MB / 1.451 GB, free: 5.504 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009194/1.313, allocations: 316.3 kB / 1.451 GB, free: 5.195 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.313, allocations: 7.938 kB / 1.451 GB, free: 5.188 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/1.313, allocations: 193.2 kB / 1.451 GB, free: 4.996 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/1.314, allocations: 67.06 kB / 1.451 GB, free: 4.934 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/1.315, allocations: 0.66 MB / 1.452 GB, free: 4.25 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/1.316, allocations: 0.7699 MB / 1.452 GB, free: 3.453 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006529/1.316, allocations: 409 kB / 1.453 GB, free: 3.047 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/1.317, allocations: 43.41 kB / 1.453 GB, free: 3.004 MB / 1.154 GB Notification: Performance of SimCode: time 1.022e-06/1.317, allocations: 4 kB / 1.453 GB, free: 3 MB / 1.154 GB Notification: Performance of Templates: time 0.09442/1.411, allocations: 59.74 MB / 1.511 GB, free: 7.211 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_10_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.572406222112477]