Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.0008078/0.0008078, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008962/0.0008962, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8669/0.8669, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9821 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.227e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001393/0.001415, allocations: 1.274 MB / 0.9834 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5431/0.5445, allocations: 120.9 MB / 1.101 GB, free: 30.13 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.5445, allocations: 0 / 1.101 GB, free: 30.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.5446, allocations: 0 / 1.101 GB, free: 30.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.5446, allocations: 9.328 kB / 1.101 GB, free: 30.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5457, allocations: 470.2 kB / 1.102 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.5458, allocations: 39.25 kB / 1.102 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.5458, allocations: 4.812 kB / 1.102 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.683e-05/0.5459, allocations: 33.31 kB / 1.102 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.546, allocations: 17.69 kB / 1.102 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.546, allocations: 2.594 kB / 1.102 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009901/0.547, allocations: 0.7985 MB / 1.103 GB, free: 29.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.547, allocations: 9.859 kB / 1.103 GB, free: 29.75 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.547, allocations: 16.78 kB / 1.103 GB, free: 29.74 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.5477, allocations: 0.5547 MB / 1.103 GB, free: 29.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5477, allocations: 0 / 1.103 GB, free: 29.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5477, allocations: 4.938 kB / 1.103 GB, free: 29.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.5477, allocations: 0 / 1.103 GB, free: 29.59 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004887/0.5482, allocations: 299.9 kB / 1.104 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5482, allocations: 9.562 kB / 1.104 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.5484, allocations: 20.14 kB / 1.104 GB, free: 29.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.977e-05/0.5484, allocations: 104.5 kB / 1.104 GB, free: 29.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5485, allocations: 2.531 kB / 1.104 GB, free: 29.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.5485, allocations: 13.33 kB / 1.104 GB, free: 29.17 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.5486, allocations: 131.6 kB / 1.104 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5486, allocations: 0 / 1.104 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5486, allocations: 13.19 kB / 1.104 GB, free: 29.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5486, allocations: 1.219 kB / 1.104 GB, free: 29.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.5487, allocations: 13.8 kB / 1.104 GB, free: 29.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.5488, allocations: 117.5 kB / 1.104 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.5489, allocations: 47.53 kB / 1.104 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.5489, allocations: 15.97 kB / 1.104 GB, free: 28.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005988/0.5549, allocations: 2.865 MB / 1.107 GB, free: 28.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5549, allocations: 37.03 kB / 1.107 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.5549, allocations: 0 / 1.107 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02383/0.5788, allocations: 14.93 MB / 1.122 GB, free: 26.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.5788, allocations: 52.75 kB / 1.122 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.5789, allocations: 93.94 kB / 1.122 GB, free: 26.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5789, allocations: 30.73 kB / 1.122 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.5789, allocations: 80.14 kB / 1.122 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.5789, allocations: 40.19 kB / 1.122 GB, free: 26.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.579, allocations: 38.42 kB / 1.122 GB, free: 26.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.579, allocations: 314.5 kB / 1.122 GB, free: 25.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.5791, allocations: 23.77 kB / 1.122 GB, free: 25.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.5791, allocations: 24.58 kB / 1.122 GB, free: 25.92 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5792, allocations: 69.52 kB / 1.122 GB, free: 25.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5792, allocations: 0 / 1.122 GB, free: 25.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001688/0.5794, allocations: 104 kB / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5794, allocations: 10.27 kB / 1.122 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.5794, allocations: 0 / 1.122 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.5794, allocations: 1.156 kB / 1.122 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5796, allocations: 26.69 kB / 1.122 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5796, allocations: 8.938 kB / 1.122 GB, free: 25.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.5796, allocations: 1.062 kB / 1.122 GB, free: 25.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5796, allocations: 8.297 kB / 1.122 GB, free: 25.81 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 6.132e-05/0.5797, allocations: 113 kB / 1.123 GB, free: 25.69 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.5797, allocations: 15.14 kB / 1.123 GB, free: 25.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.5799, allocations: 117.8 kB / 1.123 GB, free: 25.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5799, allocations: 5.062 kB / 1.123 GB, free: 25.61 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5799, allocations: 0 / 1.123 GB, free: 25.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5799, allocations: 6.297 kB / 1.123 GB, free: 25.61 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.126e-05/0.58, allocations: 113.8 kB / 1.123 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.58, allocations: 3.938 kB / 1.123 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.5801, allocations: 23.34 kB / 1.123 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5801, allocations: 1.031 kB / 1.123 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5801, allocations: 10.84 kB / 1.123 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5801, allocations: 0 / 1.123 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5801, allocations: 1.094 kB / 1.123 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.5803, allocations: 148.6 kB / 1.123 GB, free: 25.37 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.5804, allocations: 23.83 kB / 1.123 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.5804, allocations: 7.297 kB / 1.123 GB, free: 25.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.5805, allocations: 15.98 kB / 1.123 GB, free: 25.35 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.5805, allocations: 9.734 kB / 1.123 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.5805, allocations: 5.25 kB / 1.123 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.33e-05/0.5805, allocations: 81.2 kB / 1.123 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5805, allocations: 1.344 kB / 1.123 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002196/0.5827, allocations: 0.5637 MB / 1.124 GB, free: 25.24 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.00206/0.5848, allocations: 387.9 kB / 1.124 GB, free: 25.09 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.5849, allocations: 68.3 kB / 1.124 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5849, allocations: 0 / 1.124 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.5849, allocations: 31.11 kB / 1.124 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.5851, allocations: 6.859 kB / 1.124 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.5855, allocations: 310.7 kB / 1.124 GB, free: 24.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.5855, allocations: 76.92 kB / 1.125 GB, free: 24.73 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.5856, allocations: 22.11 kB / 1.125 GB, free: 24.72 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.5856, allocations: 0 / 1.125 GB, free: 24.72 MB / 0.9948 GB Notification: Performance of Templates: time 0.02759/0.6132, allocations: 14.45 MB / 1.139 GB, free: 23.91 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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: 7.268073069863021]