Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.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.001603/0.001603, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001884/0.001884, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.567/2.567, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_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_10_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3025, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002349/0.3048, allocations: 1.277 MB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7569/1.062, allocations: 138.1 MB / 1.35 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/1.062, allocations: 0 / 1.35 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/1.062, allocations: 0.7969 kB / 1.35 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/1.062, allocations: 5.953 kB / 1.35 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/1.064, allocations: 463.9 kB / 1.351 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/1.064, allocations: 46.09 kB / 1.351 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/1.064, allocations: 2.375 kB / 1.351 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/1.064, allocations: 23.61 kB / 1.351 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/1.064, allocations: 15.5 kB / 1.351 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/1.064, allocations: 1.938 kB / 1.351 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/1.066, allocations: 0.8351 MB / 1.351 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/1.066, allocations: 8.328 kB / 1.351 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/1.066, allocations: 17.5 kB / 1.351 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008298/1.067, allocations: 449.2 kB / 1.352 GB, free: 15.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.067, allocations: 0 / 1.352 GB, free: 15.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.372e-06/1.067, allocations: 0 / 1.352 GB, free: 15.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.067, allocations: 1.062 kB / 1.352 GB, free: 15.2 MB / 1.045 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.0006052/1.067, allocations: 375.6 kB / 1.352 GB, free: 14.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.067, allocations: 9.812 kB / 1.352 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/1.068, allocations: 10.77 kB / 1.352 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.068, allocations: 170.4 kB / 1.352 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/1.068, allocations: 6.547 kB / 1.352 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/1.068, allocations: 7.891 kB / 1.352 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.068, allocations: 57.83 kB / 1.353 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.068, allocations: 0 / 1.353 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.068, allocations: 1.406 kB / 1.353 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.068, allocations: 1.312 kB / 1.353 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/1.068, allocations: 17.95 kB / 1.353 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/1.068, allocations: 163.8 kB / 1.353 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.068, allocations: 55.53 kB / 1.353 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/1.068, allocations: 11.81 kB / 1.353 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/1.08, allocations: 3.22 MB / 1.356 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.08, allocations: 32.53 kB / 1.356 GB, free: 13.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/1.08, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.04319/1.124, allocations: 15 MB / 1.371 GB, free: 10.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.124, allocations: 56.64 kB / 1.371 GB, free: 10.37 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/1.124, allocations: 91.14 kB / 1.371 GB, free: 10.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/1.124, allocations: 31.11 kB / 1.371 GB, free: 10.24 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/1.124, allocations: 80.14 kB / 1.371 GB, free: 10.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/1.124, allocations: 56.77 kB / 1.371 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/1.124, allocations: 31.56 kB / 1.371 GB, free: 10.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.124, allocations: 320.2 kB / 1.371 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/1.124, allocations: 25.27 kB / 1.371 GB, free: 9.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.035e-05/1.124, allocations: 17.09 kB / 1.371 GB, free: 9.742 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/1.124, allocations: 67.25 kB / 1.371 GB, free: 9.703 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.124, allocations: 0 / 1.371 GB, free: 9.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002094/1.124, allocations: 99.45 kB / 1.371 GB, free: 9.645 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.124, allocations: 8.766 kB / 1.371 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.124, allocations: 4 kB / 1.371 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.124, allocations: 2.594 kB / 1.371 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/1.125, allocations: 25.78 kB / 1.371 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.125, allocations: 2.875 kB / 1.371 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/1.125, allocations: 7.969 kB / 1.371 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.125, allocations: 4.594 kB / 1.371 GB, free: 9.621 MB / 1.045 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 9.573e-05/1.125, allocations: 120.8 kB / 1.372 GB, free: 9.496 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/1.125, allocations: 2.312 kB / 1.372 GB, free: 9.496 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/1.125, allocations: 132.1 kB / 1.372 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.125, allocations: 0 / 1.372 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.125, allocations: 2.906 kB / 1.372 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.125, allocations: 0 / 1.372 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.125, allocations: 179.8 kB / 1.372 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.125, allocations: 2.438 kB / 1.372 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/1.125, allocations: 27.98 kB / 1.372 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.125, allocations: 4.688 kB / 1.372 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/1.125, allocations: 1.406 kB / 1.372 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.125, allocations: 1.656 kB / 1.372 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.125, allocations: 0 / 1.372 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/1.126, allocations: 164.2 kB / 1.372 GB, free: 9.043 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/1.126, allocations: 88.78 kB / 1.372 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/1.126, allocations: 5.469 kB / 1.372 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.126, allocations: 17.14 kB / 1.372 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/1.126, allocations: 8.109 kB / 1.372 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.126, allocations: 6.594 kB / 1.372 GB, free: 8.922 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.279e-05/1.126, allocations: 76.84 kB / 1.372 GB, free: 8.848 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 0 / 1.372 GB, free: 8.848 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002472/1.128, allocations: 0.5644 MB / 1.373 GB, free: 8.816 MB / 1.045 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.003442/1.132, allocations: 350.6 kB / 1.373 GB, free: 8.648 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002323/1.132, allocations: 63.64 kB / 1.373 GB, free: 8.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.132, allocations: 0 / 1.373 GB, free: 8.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/1.132, allocations: 43.89 kB / 1.373 GB, free: 8.602 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1.132, allocations: 18.03 kB / 1.373 GB, free: 8.594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/1.133, allocations: 362.2 kB / 1.374 GB, free: 8.285 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/1.133, allocations: 0.6826 MB / 1.374 GB, free: 7.586 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/1.133, allocations: 18.75 kB / 1.374 GB, free: 7.578 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/1.133, allocations: 2.812 kB / 1.374 GB, free: 7.578 MB / 1.045 GB Notification: Performance of Templates: time 0.02454/1.158, allocations: 14.35 MB / 1.388 GB, free: 14.21 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.019364735111594]