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.00139/0.00139, allocations: 110 kB / 18.93 MB, free: 2.945 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.001648/0.001648, allocations: 186.9 kB / 22.22 MB, free: 5.164 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13 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.79/2.79, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 176] 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.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.001972/0.001972, allocations: 67.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003633/1.011, allocations: 1.276 MB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.2016/1.212, allocations: 138.1 MB / 1.355 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/1.212, allocations: 0 / 1.355 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/1.212, allocations: 3.938 kB / 1.355 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/1.212, allocations: 3.984 kB / 1.355 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/1.214, allocations: 476.9 kB / 1.355 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.984e-05/1.214, allocations: 43.89 kB / 1.355 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/1.214, allocations: 4 kB / 1.355 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/1.214, allocations: 19.92 kB / 1.355 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/1.214, allocations: 23.91 kB / 1.355 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/1.214, allocations: 0 / 1.355 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/1.216, allocations: 0.831 MB / 1.356 GB, free: 9.906 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/1.216, allocations: 7.969 kB / 1.356 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/1.216, allocations: 15.94 kB / 1.356 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006736/1.217, allocations: 450.7 kB / 1.356 GB, free: 9.445 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.217, allocations: 0 / 1.356 GB, free: 9.445 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.542e-06/1.217, allocations: 0 / 1.356 GB, free: 9.445 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.217, allocations: 0 / 1.356 GB, free: 9.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005887/1.217, allocations: 379.2 kB / 1.357 GB, free: 9.027 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.217, allocations: 8.031 kB / 1.357 GB, free: 9.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/1.217, allocations: 12.92 kB / 1.357 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.217, allocations: 164.4 kB / 1.357 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/1.217, allocations: 4.375 kB / 1.357 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/1.218, allocations: 12.08 kB / 1.357 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/1.218, allocations: 57.66 kB / 1.357 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.218, allocations: 7.875 kB / 1.357 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.218, allocations: 0 / 1.357 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.218, allocations: 4 kB / 1.357 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/1.218, allocations: 19.98 kB / 1.357 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/1.218, allocations: 169.6 kB / 1.357 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/1.218, allocations: 46.56 kB / 1.357 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/1.218, allocations: 16.8 kB / 1.357 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.229, allocations: 3.205 MB / 1.36 GB, free: 5.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/1.229, allocations: 38.5 kB / 1.36 GB, free: 5.062 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 3.016e-06/1.229, allocations: 0 / 1.36 GB, free: 5.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.04158/1.271, allocations: 15 MB / 1.375 GB, free: 5.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.271, allocations: 63.39 kB / 1.375 GB, free: 5.836 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/1.271, allocations: 89.86 kB / 1.375 GB, free: 5.738 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.271, allocations: 29.7 kB / 1.375 GB, free: 5.703 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/1.271, allocations: 80.14 kB / 1.375 GB, free: 5.621 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/1.271, allocations: 47.62 kB / 1.375 GB, free: 5.574 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/1.271, allocations: 25.72 kB / 1.375 GB, free: 5.543 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.271, allocations: 326.8 kB / 1.376 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/1.271, allocations: 28.11 kB / 1.376 GB, free: 5.188 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/1.272, allocations: 17.25 kB / 1.376 GB, free: 5.172 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.272, allocations: 67.34 kB / 1.376 GB, free: 5.105 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.272, allocations: 3.938 kB / 1.376 GB, free: 5.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002304/1.272, allocations: 101.7 kB / 1.376 GB, free: 4.996 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.272, allocations: 4 kB / 1.376 GB, free: 4.992 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.272, allocations: 0 / 1.376 GB, free: 4.992 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/1.272, allocations: 4 kB / 1.376 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.272, allocations: 24 kB / 1.376 GB, free: 4.965 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.272, allocations: 3.984 kB / 1.376 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/1.272, allocations: 4 kB / 1.376 GB, free: 4.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/1.272, allocations: 4 kB / 1.376 GB, free: 4.953 MB / 1.076 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 0.0001134/1.272, allocations: 129.7 kB / 1.376 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/1.272, allocations: 3.953 kB / 1.376 GB, free: 4.812 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/1.273, allocations: 125.3 kB / 1.376 GB, free: 4.684 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.273, allocations: 4 kB / 1.376 GB, free: 4.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.273, allocations: 4 kB / 1.376 GB, free: 4.676 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.273, allocations: 0 / 1.376 GB, free: 4.676 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/1.273, allocations: 181.6 kB / 1.376 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/1.273, allocations: 0 / 1.376 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.273, allocations: 31.92 kB / 1.376 GB, free: 4.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.273, allocations: 0 / 1.376 GB, free: 4.418 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.273, allocations: 4 kB / 1.376 GB, free: 4.414 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.273, allocations: 0 / 1.376 GB, free: 4.414 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/1.273, allocations: 4 kB / 1.376 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/1.273, allocations: 156.9 kB / 1.377 GB, free: 4.238 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/1.273, allocations: 89.09 kB / 1.377 GB, free: 4.133 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/1.273, allocations: 8 kB / 1.377 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/1.273, allocations: 11.98 kB / 1.377 GB, free: 4.113 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/1.274, allocations: 7.984 kB / 1.377 GB, free: 4.105 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/1.274, allocations: 8 kB / 1.377 GB, free: 4.098 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.667e-05/1.274, allocations: 83.22 kB / 1.377 GB, free: 4.016 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.274, allocations: 0 / 1.377 GB, free: 4.016 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001936/1.276, allocations: 0.5622 MB / 1.377 GB, free: 3.453 MB / 1.076 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.002653/1.278, allocations: 354.8 kB / 1.378 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002276/1.278, allocations: 67.84 kB / 1.378 GB, free: 3.031 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.278, allocations: 0 / 1.378 GB, free: 3.031 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.43e-05/1.278, allocations: 28 kB / 1.378 GB, free: 3.004 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/1.279, allocations: 22.39 kB / 1.378 GB, free: 2.984 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/1.279, allocations: 343.1 kB / 1.378 GB, free: 2.625 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/1.28, allocations: 0.6846 MB / 1.379 GB, free: 1.914 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.8e-05/1.28, allocations: 24.53 kB / 1.379 GB, free: 1.891 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/1.28, allocations: 19.44 kB / 1.379 GB, free: 1.871 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/1.28, allocations: 0 / 1.379 GB, free: 1.871 MB / 1.076 GB Notification: Performance of Templates: time 0.04222/1.322, allocations: 24.33 MB / 1.403 GB, free: 9.52 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 13.152273027226329]