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.001976/0.001976, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002053/0.002053, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.616/1.616, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.09/3.09, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.866e-06/2.866e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.414e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002651/0.002685, allocations: 1.297 MB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2012/0.2039, allocations: 133.1 MB / 0.942 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.2039, allocations: 0 / 0.942 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.2039, allocations: 3.984 kB / 0.942 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.204, allocations: 7.938 kB / 0.942 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.2055, allocations: 466.1 kB / 0.9424 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2056, allocations: 39.84 kB / 0.9425 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.2056, allocations: 7.984 kB / 0.9425 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.2057, allocations: 27.97 kB / 0.9425 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.2058, allocations: 11.98 kB / 0.9425 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2058, allocations: 4 kB / 0.9425 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.2074, allocations: 0.7957 MB / 0.9433 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.2074, allocations: 15.91 kB / 0.9433 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2074, allocations: 15.98 kB / 0.9433 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.2083, allocations: 0.5652 MB / 0.9439 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2083, allocations: 4 kB / 0.9439 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2083, allocations: 3.938 kB / 0.9439 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5e-06/0.2083, allocations: 0 / 0.9439 GB, free: 9.379 MB / 0.9011 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.0006217/0.209, allocations: 400.1 kB / 0.9443 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.209, allocations: 8.031 kB / 0.9443 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.2092, allocations: 24.81 kB / 0.9443 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2093, allocations: 104.6 kB / 0.9444 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2094, allocations: 8.375 kB / 0.9444 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2094, allocations: 8.359 kB / 0.9444 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.2096, allocations: 135.3 kB / 0.9446 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2096, allocations: 3.938 kB / 0.9446 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2096, allocations: 0 / 0.9446 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2096, allocations: 4 kB / 0.9446 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.2097, allocations: 19.92 kB / 0.9446 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2099, allocations: 128.5 kB / 0.9447 GB, free: 8.434 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.21, allocations: 55.05 kB / 0.9448 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.2101, allocations: 15.69 kB / 0.9448 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.222, allocations: 2.88 MB / 0.9476 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.2221, allocations: 45.33 kB / 0.9476 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.2221, allocations: 0 / 0.9476 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.04056/0.2627, allocations: 8.187 MB / 0.9556 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2627, allocations: 55.41 kB / 0.9557 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2629, allocations: 157.9 kB / 0.9558 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2629, allocations: 29.69 kB / 0.9559 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.2629, allocations: 126.9 kB / 0.956 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.263, allocations: 43.64 kB / 0.956 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.2631, allocations: 35.36 kB / 0.9561 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002727/0.2633, allocations: 0.4884 MB / 0.9565 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.2634, allocations: 23.98 kB / 0.9566 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.2635, allocations: 23.98 kB / 0.9566 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2636, allocations: 65.42 kB / 0.9566 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2636, allocations: 3.938 kB / 0.9566 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002747/0.2639, allocations: 113.6 kB / 0.9567 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2639, allocations: 12 kB / 0.9568 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2639, allocations: 0 / 0.9568 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2639, allocations: 0 / 0.9568 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.264, allocations: 27.92 kB / 0.9568 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2641, allocations: 0 / 0.9568 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.2641, allocations: 4 kB / 0.9568 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2641, allocations: 4 kB / 0.9568 GB, free: 11.81 MB / 0.9167 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.0001458/0.2642, allocations: 160.6 kB / 0.9569 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.2643, allocations: 23.83 kB / 0.957 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.2646, allocations: 125.5 kB / 0.9571 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2646, allocations: 0 / 0.9571 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2646, allocations: 0 / 0.9571 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2646, allocations: 4 kB / 0.9571 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2648, allocations: 124.6 kB / 0.9572 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2648, allocations: 0 / 0.9572 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2649, allocations: 27.92 kB / 0.9572 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2649, allocations: 0 / 0.9572 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2649, allocations: 15.94 kB / 0.9573 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2649, allocations: 3.984 kB / 0.9573 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2649, allocations: 0 / 0.9573 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.2653, allocations: 168.2 kB / 0.9574 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2653, allocations: 11.98 kB / 0.9574 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.2654, allocations: 3.938 kB / 0.9574 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2655, allocations: 11.98 kB / 0.9574 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2655, allocations: 7.984 kB / 0.9575 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2655, allocations: 4 kB / 0.9575 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.2656, allocations: 127.2 kB / 0.9576 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2656, allocations: 0 / 0.9576 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001873/0.2675, allocations: 0.566 MB / 0.9581 GB, free: 10.37 MB / 0.9167 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.003056/0.2705, allocations: 401.8 kB / 0.9585 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2708, allocations: 79.59 kB / 0.9586 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2708, allocations: 0 / 0.9586 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.2709, allocations: 39.94 kB / 0.9586 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2712, allocations: 25.81 kB / 0.9587 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.2718, allocations: 285 kB / 0.9589 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.847e-05/0.2719, allocations: 71.33 kB / 0.959 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.272, allocations: 20.61 kB / 0.959 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.272, allocations: 24.44 kB / 0.959 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/0.272, allocations: 4 kB / 0.959 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of Templates: time 0.04866/0.3207, allocations: 26.1 MB / 0.9845 GB, free: 15.27 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] 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: 12.402430095011368]