Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001467/0.001467, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00159/0.00159, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.729/2.729, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.886e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1723/0.1724, allocations: 119.7 MB / 0.9032 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03365/0.206, allocations: 20.23 MB / 0.923 GB, free: 448 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.2062, allocations: 3.938 kB / 0.923 GB, free: 444 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.2065, allocations: 43.69 kB / 0.923 GB, free: 400 kB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.2069, allocations: 103.3 kB / 0.9231 GB, free: 296 kB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01932/0.2262, allocations: 6.985 MB / 0.93 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.2267, allocations: 259.7 kB / 0.9302 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.2267, allocations: 9.797 kB / 0.9302 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.2272, allocations: 183.4 kB / 0.9304 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.2274, allocations: 79.75 kB / 0.9305 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.2274, allocations: 8 kB / 0.9305 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02343/0.2508, allocations: 11.14 MB / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2509, allocations: 35.88 kB / 0.9414 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.2511, allocations: 63.84 kB / 0.9414 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.269, allocations: 8.368 MB / 0.9496 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.269, allocations: 4 kB / 0.9496 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.513e-06/0.269, allocations: 0 / 0.9496 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.269, allocations: 0 / 0.9496 GB, free: 5.105 MB / 0.9011 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.003582/0.2726, allocations: 1.159 MB / 0.9507 GB, free: 3.91 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2726, allocations: 8.031 kB / 0.9508 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.2738, allocations: 152.3 kB / 0.9509 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.2742, allocations: 173.5 kB / 0.9511 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2743, allocations: 12.38 kB / 0.9511 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.2743, allocations: 20.38 kB / 0.9511 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.2759, allocations: 0.6758 MB / 0.9518 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2759, allocations: 0 / 0.9518 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.276, allocations: 8 kB / 0.9518 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.276, allocations: 4 kB / 0.9518 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.2774, allocations: 0.6049 MB / 0.9524 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.2788, allocations: 0.7036 MB / 0.953 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/0.2797, allocations: 233.2 kB / 0.9533 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2798, allocations: 64.83 kB / 0.9533 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08898/0.3688, allocations: 23.35 MB / 0.9761 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.3689, allocations: 38.55 kB / 0.9762 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.3689, allocations: 0 / 0.9762 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.002115/0.371, allocations: 455.2 kB / 0.9766 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.371, allocations: 55.41 kB / 0.9767 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3712, allocations: 125.7 kB / 0.9768 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.3712, allocations: 33.7 kB / 0.9768 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.3713, allocations: 112.5 kB / 0.9769 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3714, allocations: 95.22 kB / 0.977 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3716, allocations: 73.67 kB / 0.9771 GB, free: 8.699 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3718, allocations: 322.8 kB / 0.9774 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.372, allocations: 83.94 kB / 0.9775 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3723, allocations: 125.1 kB / 0.9776 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.3728, allocations: 214.8 kB / 0.9778 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3728, allocations: 3.938 kB / 0.9778 GB, free: 7.922 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000937/0.3737, allocations: 335 kB / 0.9781 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3737, allocations: 4 kB / 0.9781 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3738, allocations: 4 kB / 0.9781 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.3738, allocations: 4 kB / 0.9781 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3741, allocations: 83.88 kB / 0.9782 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3741, allocations: 3.938 kB / 0.9782 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3743, allocations: 19.89 kB / 0.9782 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.3744, allocations: 27.91 kB / 0.9783 GB, free: 7.445 MB / 0.9323 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.0001657/0.3745, allocations: 129.9 kB / 0.9784 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.3748, allocations: 43.66 kB / 0.9784 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.3783, allocations: 2.492 MB / 0.9809 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.3783, allocations: 11.98 kB / 0.9809 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3783, allocations: 0 / 0.9809 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3783, allocations: 0 / 0.9809 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.3834, allocations: 3.553 MB / 0.9843 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3834, allocations: 3.984 kB / 0.9843 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.3837, allocations: 47.95 kB / 0.9844 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.3837, allocations: 15.94 kB / 0.9844 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3837, allocations: 4 kB / 0.9844 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3837, allocations: 4 kB / 0.9844 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3837, allocations: 0 / 0.9844 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3848, allocations: 0.5782 MB / 0.985 GB, free: 456 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3849, allocations: 59.64 kB / 0.985 GB, free: 396 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.3849, allocations: 11.98 kB / 0.985 GB, free: 384 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.3852, allocations: 11.94 kB / 0.9851 GB, free: 376 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.3852, allocations: 19.97 kB / 0.9851 GB, free: 356 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.3853, allocations: 15.98 kB / 0.9851 GB, free: 340 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.3854, allocations: 101.1 kB / 0.9852 GB, free: 240 kB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.3854, allocations: 0 / 0.9852 GB, free: 240 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006273/0.3916, allocations: 1.723 MB / 0.9869 GB, free: 14.51 MB / 0.948 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.01244/0.4041, allocations: 2.21 MB / 0.989 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009246/0.405, allocations: 320.3 kB / 0.9893 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.405, allocations: 0 / 0.9893 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.4054, allocations: 192.5 kB / 0.9895 GB, free: 11.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/0.4063, allocations: 92.19 kB / 0.9896 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.4077, allocations: 0.6117 MB / 0.9902 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.4079, allocations: 156.7 kB / 0.9903 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007341/0.4086, allocations: 404.7 kB / 0.9907 GB, free: 10.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4088, allocations: 52.47 kB / 0.9908 GB, free: 10.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/0.4088, allocations: 0 / 0.9908 GB, free: 10.43 MB / 0.948 GB Notification: Performance of Templates: time 0.4563/0.8652, allocations: 60.43 MB / 1.05 GB, free: 300.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.673173740971833]