Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001932/0.001932, allocations: 113.8 kB / 17.6 MB, free: 4.684 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.002108/0.002108, allocations: 186 kB / 20.78 MB, free: 1.52 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.587/1.587, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194/1.196, allocations: 173.6 MB / 1.305 GB, free: 33.47 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003698/1.2, allocations: 1.278 MB / 1.307 GB, free: 32.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1975/1.397, allocations: 138.1 MB / 1.442 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/1.397, allocations: 0 / 1.442 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/1.397, allocations: 4.594 kB / 1.442 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.474e-05/1.397, allocations: 2.484 kB / 1.442 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/1.4, allocations: 472.4 kB / 1.442 GB, free: 12.16 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/1.4, allocations: 38.5 kB / 1.442 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/1.4, allocations: 3.016 kB / 1.442 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/1.4, allocations: 25.39 kB / 1.442 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/1.4, allocations: 20.25 kB / 1.442 GB, free: 12.13 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/1.4, allocations: 1.781 kB / 1.442 GB, free: 12.13 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/1.402, allocations: 0.8281 MB / 1.443 GB, free: 11.94 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/1.402, allocations: 12.23 kB / 1.443 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/1.402, allocations: 13.47 kB / 1.443 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/1.404, allocations: 450.1 kB / 1.443 GB, free: 11.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.404, allocations: 0 / 1.443 GB, free: 11.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.583e-06/1.404, allocations: 0 / 1.443 GB, free: 11.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.153e-06/1.404, allocations: 0 / 1.443 GB, free: 11.82 MB / 1.139 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.000979/1.405, allocations: 374.9 kB / 1.444 GB, free: 11.45 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.405, allocations: 8.812 kB / 1.444 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/1.405, allocations: 15.61 kB / 1.444 GB, free: 11.44 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.405, allocations: 161.8 kB / 1.444 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/1.405, allocations: 6.531 kB / 1.444 GB, free: 11.24 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/1.405, allocations: 15.55 kB / 1.444 GB, free: 11.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/1.406, allocations: 50.55 kB / 1.444 GB, free: 11.2 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.406, allocations: 0 / 1.444 GB, free: 11.2 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.406, allocations: 8.75 kB / 1.444 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.406, allocations: 4.938 kB / 1.444 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/1.406, allocations: 23.06 kB / 1.444 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/1.406, allocations: 163.2 kB / 1.444 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.406, allocations: 47.14 kB / 1.444 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/1.406, allocations: 20.91 kB / 1.444 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/1.419, allocations: 3.209 MB / 1.447 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.419, allocations: 41.2 kB / 1.447 GB, free: 10.11 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.419, allocations: 0 / 1.447 GB, free: 10.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04901/1.468, allocations: 15 MB / 1.462 GB, free: 6.898 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/1.468, allocations: 52.59 kB / 1.462 GB, free: 6.836 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/1.468, allocations: 96.12 kB / 1.462 GB, free: 6.734 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/1.468, allocations: 30.83 kB / 1.462 GB, free: 6.699 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/1.469, allocations: 80.14 kB / 1.462 GB, free: 6.617 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/1.469, allocations: 36.09 kB / 1.462 GB, free: 6.586 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/1.469, allocations: 35.83 kB / 1.462 GB, free: 6.555 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.469, allocations: 325 kB / 1.463 GB, free: 6.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/1.469, allocations: 21.31 kB / 1.463 GB, free: 6.223 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/1.469, allocations: 21.42 kB / 1.463 GB, free: 6.215 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/1.469, allocations: 66.28 kB / 1.463 GB, free: 6.18 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/1.469, allocations: 0 / 1.463 GB, free: 6.18 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00024/1.469, allocations: 106.9 kB / 1.463 GB, free: 6.113 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.469, allocations: 5.781 kB / 1.463 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.469, allocations: 0 / 1.463 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.469, allocations: 1.125 kB / 1.463 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/1.47, allocations: 27.73 kB / 1.463 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.47, allocations: 4 kB / 1.463 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/1.47, allocations: 1.5 kB / 1.463 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/1.47, allocations: 7.844 kB / 1.463 GB, free: 6.098 MB / 1.139 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.0001095/1.47, allocations: 124 kB / 1.463 GB, free: 5.969 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/1.47, allocations: 3.469 kB / 1.463 GB, free: 5.969 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/1.47, allocations: 131.8 kB / 1.463 GB, free: 5.875 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.47, allocations: 1.031 kB / 1.463 GB, free: 5.875 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.47, allocations: 1.281 kB / 1.463 GB, free: 5.875 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.47, allocations: 0 / 1.463 GB, free: 5.875 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/1.47, allocations: 177.5 kB / 1.463 GB, free: 5.664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.47, allocations: 0 / 1.463 GB, free: 5.664 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.47, allocations: 31.52 kB / 1.463 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.47, allocations: 1.156 kB / 1.463 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.47, allocations: 2.219 kB / 1.463 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.47, allocations: 0 / 1.463 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.47, allocations: 1.25 kB / 1.463 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/1.471, allocations: 160.4 kB / 1.463 GB, free: 5.531 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.471, allocations: 89.34 kB / 1.464 GB, free: 5.43 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/1.471, allocations: 5.375 kB / 1.464 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.471, allocations: 10.89 kB / 1.464 GB, free: 5.422 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/1.471, allocations: 9.156 kB / 1.464 GB, free: 5.418 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.471, allocations: 10.77 kB / 1.464 GB, free: 5.41 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.007e-05/1.471, allocations: 80.59 kB / 1.464 GB, free: 5.332 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.471, allocations: 0 / 1.464 GB, free: 5.332 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003394/1.474, allocations: 0.5633 MB / 1.464 GB, free: 5.301 MB / 1.139 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.00525/1.48, allocations: 361.6 kB / 1.465 GB, free: 5.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002675/1.48, allocations: 63.84 kB / 1.465 GB, free: 5.008 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.48, allocations: 7.938 kB / 1.465 GB, free: 5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/1.48, allocations: 27.98 kB / 1.465 GB, free: 4.973 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/1.48, allocations: 17.66 kB / 1.465 GB, free: 4.957 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/1.481, allocations: 340.7 kB / 1.465 GB, free: 4.598 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/1.481, allocations: 0.6846 MB / 1.466 GB, free: 3.887 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 9.92e-05/1.482, allocations: 24.55 kB / 1.466 GB, free: 3.863 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/1.482, allocations: 19.44 kB / 1.466 GB, free: 3.844 MB / 1.139 GB Notification: Performance of SimCode: time 1.123e-06/1.482, allocations: 0 / 1.466 GB, free: 3.844 MB / 1.139 GB Notification: Performance of Templates: time 0.04424/1.526, allocations: 24.3 MB / 1.489 GB, free: 11.52 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.11967614106834]