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.002073/0.002073, allocations: 119.7 kB / 17.13 MB, free: 5.758 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.002356/0.002356, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.495/1.495, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001867/0.001867, allocations: 75.88 kB / 1.057 GB, free: 2.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3008, allocations: 160.7 MB / 1.214 GB, free: 0.9844 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.7853/1.086, allocations: 136.5 MB / 1.347 GB, free: 1.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03141/1.118, allocations: 22.76 MB / 1.37 GB, free: 2.445 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/1.118, allocations: 5.25 kB / 1.37 GB, free: 2.441 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003007/1.118, allocations: 43.86 kB / 1.37 GB, free: 2.422 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/1.118, allocations: 96.97 kB / 1.37 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.02104/1.139, allocations: 6.956 MB / 1.377 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000455/1.14, allocations: 253.9 kB / 1.377 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/1.14, allocations: 6.438 kB / 1.377 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/1.14, allocations: 134.8 kB / 1.377 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/1.14, allocations: 98.45 kB / 1.377 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/1.14, allocations: 11.88 kB / 1.377 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02424/1.165, allocations: 11.66 MB / 1.388 GB, free: 8.051 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/1.165, allocations: 41.45 kB / 1.388 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/1.165, allocations: 84.77 kB / 1.389 GB, free: 7.973 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01719/1.182, allocations: 6.487 MB / 1.395 GB, free: 3.836 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.182, allocations: 3.938 kB / 1.395 GB, free: 3.832 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/1.182, allocations: 0 / 1.395 GB, free: 3.832 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.182, allocations: 0 / 1.395 GB, free: 3.832 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005011/1.187, allocations: 1.24 MB / 1.396 GB, free: 2.906 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.187, allocations: 10.69 kB / 1.396 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/1.189, allocations: 89.14 kB / 1.396 GB, free: 2.867 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/1.189, allocations: 224.6 kB / 1.396 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.189, allocations: 12.09 kB / 1.396 GB, free: 2.617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/1.189, allocations: 18.03 kB / 1.396 GB, free: 2.609 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/1.19, allocations: 450.1 kB / 1.397 GB, free: 2.324 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.19, allocations: 4 kB / 1.397 GB, free: 2.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/1.19, allocations: 6.719 kB / 1.397 GB, free: 2.316 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.19, allocations: 9.047 kB / 1.397 GB, free: 2.312 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/1.191, allocations: 0.59 MB / 1.397 GB, free: 2.027 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/1.193, allocations: 0.8907 MB / 1.398 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/1.194, allocations: 237.9 kB / 1.399 GB, free: 1.031 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.194, allocations: 61.55 kB / 1.399 GB, free: 1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09721/1.291, allocations: 35.42 MB / 1.433 GB, free: 13.62 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.291, allocations: 42.5 kB / 1.433 GB, free: 13.57 MB / 1.108 GB Notification: Performance of pre-optimization done (n=25): time 2.454e-06/1.291, allocations: 4 kB / 1.433 GB, free: 13.57 MB / 1.108 GB Notification: Performance of matching and sorting (n=25): time 0.002027/1.293, allocations: 424.6 kB / 1.434 GB, free: 13.16 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/1.293, allocations: 55.41 kB / 1.434 GB, free: 13.09 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/1.293, allocations: 139.8 kB / 1.434 GB, free: 12.95 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/1.293, allocations: 33.7 kB / 1.434 GB, free: 12.91 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/1.293, allocations: 108.5 kB / 1.434 GB, free: 12.79 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/1.293, allocations: 95.2 kB / 1.434 GB, free: 12.7 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/1.294, allocations: 73.67 kB / 1.434 GB, free: 12.62 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.294, allocations: 334.8 kB / 1.434 GB, free: 12.29 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/1.294, allocations: 84.69 kB / 1.434 GB, free: 12.2 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/1.294, allocations: 134.5 kB / 1.435 GB, free: 12.05 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/1.295, allocations: 222.7 kB / 1.435 GB, free: 11.82 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.295, allocations: 0 / 1.435 GB, free: 11.82 MB / 1.108 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009355/1.296, allocations: 299 kB / 1.435 GB, free: 11.52 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.296, allocations: 8 kB / 1.435 GB, free: 11.52 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.296, allocations: 0 / 1.435 GB, free: 11.52 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.296, allocations: 8.156 kB / 1.435 GB, free: 11.51 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/1.296, allocations: 80.38 kB / 1.435 GB, free: 11.43 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.296, allocations: 4 kB / 1.435 GB, free: 11.43 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/1.296, allocations: 19.84 kB / 1.435 GB, free: 11.41 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/1.296, allocations: 33.84 kB / 1.435 GB, free: 11.38 MB / 1.108 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.000174/1.296, allocations: 125.8 kB / 1.435 GB, free: 11.24 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.297, allocations: 19.91 kB / 1.435 GB, free: 11.22 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/1.299, allocations: 2.33 MB / 1.438 GB, free: 8.887 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.299, allocations: 23.92 kB / 1.438 GB, free: 8.863 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.299, allocations: 0 / 1.438 GB, free: 8.863 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.299, allocations: 0 / 1.438 GB, free: 8.863 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/1.303, allocations: 3.427 MB / 1.441 GB, free: 5.32 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.304, allocations: 0 / 1.441 GB, free: 5.32 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.304, allocations: 59.88 kB / 1.441 GB, free: 5.262 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.304, allocations: 3.938 kB / 1.441 GB, free: 5.258 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/1.304, allocations: 11.94 kB / 1.441 GB, free: 5.246 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.304, allocations: 0 / 1.441 GB, free: 5.246 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.304, allocations: 4 kB / 1.441 GB, free: 5.242 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.305, allocations: 0.5513 MB / 1.442 GB, free: 4.676 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/1.305, allocations: 140.7 kB / 1.442 GB, free: 4.52 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/1.305, allocations: 11.94 kB / 1.442 GB, free: 4.508 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/1.305, allocations: 15.92 kB / 1.442 GB, free: 4.496 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/1.305, allocations: 19.97 kB / 1.442 GB, free: 4.477 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/1.306, allocations: 8 kB / 1.442 GB, free: 4.469 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0001106/1.306, allocations: 113 kB / 1.442 GB, free: 4.359 MB / 1.108 GB Notification: Performance of sort global known variables: time 9e-08/1.306, allocations: 4 kB / 1.442 GB, free: 4.355 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.005661/1.311, allocations: 1.699 MB / 1.444 GB, free: 2.652 MB / 1.108 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.009839/1.321, allocations: 1.952 MB / 1.446 GB, free: 0.6875 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.0007853/1.322, allocations: 308.4 kB / 1.446 GB, free: 392 kB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.322, allocations: 0 / 1.446 GB, free: 392 kB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/1.322, allocations: 193.2 kB / 1.446 GB, free: 196 kB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/1.323, allocations: 71.8 kB / 1.446 GB, free: 128 kB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.324, allocations: 0.6675 MB / 1.447 GB, free: 15.43 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/1.325, allocations: 0.7661 MB / 1.447 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/1.325, allocations: 51.34 kB / 1.448 GB, free: 14.59 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.325, allocations: 0 / 1.448 GB, free: 14.59 MB / 1.123 GB Notification: Performance of Templates: time 0.05164/1.376, allocations: 32.74 MB / 1.479 GB, free: 13.82 MB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.558599067851901]