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.001431/0.001431, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001542/0.001542, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 2.869/2.869, allocations: 377.8 MB / 0.6232 GB, free: 8.539 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 1.442e-06/1.442e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.989e-05, allocations: 3.344 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002664/0.002694, allocations: 1.277 MB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2012/0.2039, allocations: 120.9 MB / 0.9301 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.2039, allocations: 4 kB / 0.9301 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.2039, allocations: 0 / 0.9301 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.585e-05/0.204, allocations: 7.922 kB / 0.9301 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.2057, allocations: 466.2 kB / 0.9306 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2058, allocations: 39.84 kB / 0.9306 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.2059, allocations: 3.984 kB / 0.9306 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.2059, allocations: 31.91 kB / 0.9306 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.206, allocations: 15.97 kB / 0.9306 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.206, allocations: 4 kB / 0.9306 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.2079, allocations: 0.7996 MB / 0.9314 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2079, allocations: 3.984 kB / 0.9314 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.208, allocations: 19.92 kB / 0.9315 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.209, allocations: 0.5652 MB / 0.932 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.209, allocations: 0 / 0.932 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.322e-06/0.209, allocations: 0 / 0.932 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.209, allocations: 0 / 0.932 GB, free: 5.574 MB / 0.8855 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.0006277/0.2097, allocations: 298.1 kB / 0.9323 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2097, allocations: 8.031 kB / 0.9323 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.2099, allocations: 28.81 kB / 0.9323 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.21, allocations: 101.8 kB / 0.9324 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2101, allocations: 4.375 kB / 0.9324 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.2101, allocations: 8.375 kB / 0.9324 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.2103, allocations: 135.3 kB / 0.9326 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2103, allocations: 3.938 kB / 0.9326 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2103, allocations: 7.938 kB / 0.9326 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2103, allocations: 0 / 0.9326 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.2104, allocations: 19.98 kB / 0.9326 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.2106, allocations: 117.2 kB / 0.9327 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2107, allocations: 46.56 kB / 0.9327 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.2108, allocations: 20.84 kB / 0.9328 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.2232, allocations: 2.856 MB / 0.9356 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.2233, allocations: 30.56 kB / 0.9356 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.2233, allocations: 0 / 0.9356 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.04294/0.2662, allocations: 14.94 MB / 0.9502 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.2663, allocations: 55.41 kB / 0.9502 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.2663, allocations: 89.86 kB / 0.9503 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2664, allocations: 29.64 kB / 0.9503 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.2664, allocations: 88.14 kB / 0.9504 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.2665, allocations: 39.67 kB / 0.9505 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2665, allocations: 33.83 kB / 0.9505 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.2667, allocations: 318.8 kB / 0.9508 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.2668, allocations: 23.98 kB / 0.9508 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.2668, allocations: 19.98 kB / 0.9508 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2669, allocations: 63.48 kB / 0.9509 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2669, allocations: 0 / 0.9509 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002639/0.2672, allocations: 117.5 kB / 0.951 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2672, allocations: 4 kB / 0.951 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2672, allocations: 4 kB / 0.951 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.2673, allocations: 0 / 0.951 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2674, allocations: 35.92 kB / 0.9511 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2674, allocations: 4 kB / 0.9511 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.2674, allocations: 0 / 0.9511 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2674, allocations: 8 kB / 0.9511 GB, free: 1.73 MB / 0.9011 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.985e-05/0.2675, allocations: 113.8 kB / 0.9512 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2676, allocations: 15.83 kB / 0.9512 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.2679, allocations: 129.4 kB / 0.9513 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2679, allocations: 4 kB / 0.9513 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.2679, allocations: 0 / 0.9513 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2679, allocations: 7.984 kB / 0.9513 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.268, allocations: 109.3 kB / 0.9514 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.268, allocations: 0 / 0.9514 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.2682, allocations: 27.98 kB / 0.9515 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2682, allocations: 0 / 0.9515 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2682, allocations: 7.938 kB / 0.9515 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2682, allocations: 0 / 0.9515 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2682, allocations: 0 / 0.9515 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.2685, allocations: 168.8 kB / 0.9516 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.2686, allocations: 16.03 kB / 0.9516 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2686, allocations: 3.938 kB / 0.9516 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2687, allocations: 11.98 kB / 0.9517 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.2688, allocations: 11.98 kB / 0.9517 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2688, allocations: 4 kB / 0.9517 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.2688, allocations: 79.28 kB / 0.9518 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.2688, allocations: 0 / 0.9518 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001858/0.2707, allocations: 0.5699 MB / 0.9523 GB, free: 412 kB / 0.9011 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.003072/0.2738, allocations: 394.9 kB / 0.9527 GB, free: 4 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.274, allocations: 71.92 kB / 0.9528 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.274, allocations: 0 / 0.9528 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.2741, allocations: 27.94 kB / 0.9528 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2743, allocations: 26.2 kB / 0.9528 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.275, allocations: 275.4 kB / 0.9531 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.2751, allocations: 67.34 kB / 0.9531 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.2752, allocations: 32.58 kB / 0.9532 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.2752, allocations: 16.5 kB / 0.9532 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of SimCode: time 6.82e-07/0.2752, allocations: 0 / 0.9532 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of Templates: time 0.04403/0.3192, allocations: 24.82 MB / 0.9774 GB, free: 6.633 MB / 0.9323 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] 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.203113109106198]