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.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.001768/0.001768, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002221/0.002221, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.552/1.552, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.218/3.218, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.683e-06/1.683e-06, allocations: 0 / 0.8775 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.489e-05, allocations: 5.125 kB / 0.8775 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002727/0.002762, allocations: 1.281 MB / 0.8788 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1802/0.183, allocations: 120.9 MB / 0.9969 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.183, allocations: 0 / 0.9969 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.183, allocations: 4 kB / 0.9969 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.1831, allocations: 3.938 kB / 0.9969 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.1847, allocations: 474.1 kB / 0.9973 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.1848, allocations: 39.89 kB / 0.9974 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.1848, allocations: 3.938 kB / 0.9974 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.1849, allocations: 27.97 kB / 0.9974 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.185, allocations: 15.97 kB / 0.9974 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.185, allocations: 4 kB / 0.9974 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.1869, allocations: 0.7996 MB / 0.9982 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.1869, allocations: 3.984 kB / 0.9982 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1869, allocations: 19.92 kB / 0.9982 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.188, allocations: 0.5613 MB / 0.9988 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.188, allocations: 4 kB / 0.9988 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.021e-06/0.188, allocations: 4 kB / 0.9988 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.188, allocations: 0 / 0.9988 GB, free: 9.926 MB / 0.9636 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.0006072/0.1886, allocations: 302 kB / 0.9991 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1886, allocations: 8.031 kB / 0.9991 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.1889, allocations: 24.86 kB / 0.9991 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.189, allocations: 101.8 kB / 0.9992 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.189, allocations: 4.375 kB / 0.9992 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.189, allocations: 12.33 kB / 0.9992 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1892, allocations: 139.3 kB / 0.9994 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1892, allocations: 3.938 kB / 0.9994 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1893, allocations: 8 kB / 0.9994 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1893, allocations: 0 / 0.9994 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.1893, allocations: 15.98 kB / 0.9994 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1895, allocations: 117.2 kB / 0.9995 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1896, allocations: 46.56 kB / 0.9995 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.1897, allocations: 20.84 kB / 0.9996 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.2011, allocations: 2.852 MB / 1.002 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.2012, allocations: 30.56 kB / 1.002 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2012, allocations: 0 / 1.002 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.04527/0.2465, allocations: 14.95 MB / 1.017 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.2465, allocations: 59.41 kB / 1.017 GB, free: 6.973 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.2466, allocations: 89.86 kB / 1.017 GB, free: 6.875 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2466, allocations: 25.7 kB / 1.017 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.2467, allocations: 88.27 kB / 1.017 GB, free: 6.754 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.2467, allocations: 43.64 kB / 1.017 GB, free: 6.711 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.2468, allocations: 29.7 kB / 1.017 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.247, allocations: 318.8 kB / 1.018 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.247, allocations: 19.98 kB / 1.018 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.2471, allocations: 23.98 kB / 1.018 GB, free: 6.312 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.2472, allocations: 60.11 kB / 1.018 GB, free: 6.254 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2472, allocations: 0 / 1.018 GB, free: 6.254 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002641/0.2475, allocations: 125.4 kB / 1.018 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2475, allocations: 4 kB / 1.018 GB, free: 6.121 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2475, allocations: 0 / 1.018 GB, free: 6.121 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2475, allocations: 8 kB / 1.018 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2477, allocations: 27.98 kB / 1.018 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2477, allocations: 3.938 kB / 1.018 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.2477, allocations: 0 / 1.018 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2477, allocations: 8 kB / 1.018 GB, free: 6.074 MB / 0.9792 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.0001053/0.2478, allocations: 117.8 kB / 1.018 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.2479, allocations: 11.88 kB / 1.018 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.2482, allocations: 125.5 kB / 1.018 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2482, allocations: 0 / 1.018 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2482, allocations: 0 / 1.018 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2482, allocations: 7.984 kB / 1.018 GB, free: 5.797 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2483, allocations: 113.3 kB / 1.018 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2483, allocations: 0 / 1.018 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2485, allocations: 27.98 kB / 1.018 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2485, allocations: 0 / 1.018 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2485, allocations: 7.938 kB / 1.018 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2485, allocations: 0 / 1.018 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2485, allocations: 7.938 kB / 1.018 GB, free: 5.613 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.2489, allocations: 161 kB / 1.018 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.2489, allocations: 15.98 kB / 1.018 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.2489, allocations: 7.938 kB / 1.018 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2491, allocations: 11.98 kB / 1.018 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2491, allocations: 11.98 kB / 1.018 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2491, allocations: 4 kB / 1.018 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.2492, allocations: 79.28 kB / 1.019 GB, free: 5.309 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2492, allocations: 4.094 kB / 1.019 GB, free: 5.305 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002541/0.2517, allocations: 0.5699 MB / 1.019 GB, free: 4.734 MB / 0.9792 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.004213/0.2559, allocations: 398.7 kB / 1.019 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2561, allocations: 59.97 kB / 1.02 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2561, allocations: 4 kB / 1.02 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/0.2562, allocations: 27.94 kB / 1.02 GB, free: 4.242 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2564, allocations: 19.97 kB / 1.02 GB, free: 4.223 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.2571, allocations: 275.5 kB / 1.02 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.003e-05/0.2571, allocations: 71.2 kB / 1.02 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.632e-05/0.2572, allocations: 28.59 kB / 1.02 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.2573, allocations: 12.5 kB / 1.02 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.2573, allocations: 4 kB / 1.02 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of Templates: time 0.04304/0.3003, allocations: 24.82 MB / 1.044 GB, free: 10.98 MB / 1.01 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 800] 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: 12.762426903937012]