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.001301/0.001301, allocations: 112.6 kB / 17.08 MB, free: 6.008 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.001271/0.001271, allocations: 194.2 kB / 20.03 MB, free: 3.074 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001959/0.001959, allocations: 71.88 kB / 1.028 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3009, allocations: 151.6 MB / 1.176 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002282/0.3032, allocations: 1.27 MB / 1.177 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8379/1.141, allocations: 137.7 MB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/1.141, allocations: 1.094 kB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/1.141, allocations: 5.172 kB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/1.141, allocations: 6.344 kB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/1.143, allocations: 458 kB / 1.312 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.421e-05/1.143, allocations: 41.42 kB / 1.312 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/1.143, allocations: 6.109 kB / 1.312 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/1.143, allocations: 17.42 kB / 1.312 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/1.143, allocations: 27.53 kB / 1.312 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/1.143, allocations: 1.469 kB / 1.312 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/1.145, allocations: 0.8299 MB / 1.313 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/1.145, allocations: 7.766 kB / 1.313 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/1.145, allocations: 16.25 kB / 1.313 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007396/1.146, allocations: 447.7 kB / 1.313 GB, free: 14.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.146, allocations: 0 / 1.313 GB, free: 14.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/1.146, allocations: 0 / 1.313 GB, free: 14.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.962e-06/1.146, allocations: 1 kB / 1.313 GB, free: 14.48 MB / 1.014 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.0005787/1.146, allocations: 373 kB / 1.314 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.146, allocations: 8.594 kB / 1.314 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/1.147, allocations: 14.81 kB / 1.314 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.147, allocations: 169 kB / 1.314 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.147, allocations: 5.312 kB / 1.314 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/1.147, allocations: 7.969 kB / 1.314 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/1.147, allocations: 56.28 kB / 1.314 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.147, allocations: 0.6094 kB / 1.314 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.147, allocations: 5.062 kB / 1.314 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.147, allocations: 1.219 kB / 1.314 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/1.147, allocations: 21.58 kB / 1.314 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/1.147, allocations: 168.2 kB / 1.314 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.147, allocations: 52.45 kB / 1.314 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/1.147, allocations: 19.94 kB / 1.314 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/1.159, allocations: 3.208 MB / 1.317 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.159, allocations: 39.64 kB / 1.317 GB, free: 12.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 2.584e-06/1.159, allocations: 1.312 kB / 1.317 GB, free: 12.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.04376/1.203, allocations: 15 MB / 1.332 GB, free: 10.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.203, allocations: 52.5 kB / 1.332 GB, free: 10.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/1.203, allocations: 102.1 kB / 1.332 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/1.203, allocations: 31.05 kB / 1.332 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/1.203, allocations: 80.14 kB / 1.332 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/1.203, allocations: 41.33 kB / 1.332 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/1.204, allocations: 36.16 kB / 1.332 GB, free: 10.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.204, allocations: 315.7 kB / 1.333 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/1.204, allocations: 21.64 kB / 1.333 GB, free: 10.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/1.204, allocations: 25.08 kB / 1.333 GB, free: 10.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/1.204, allocations: 62.61 kB / 1.333 GB, free: 10.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/1.204, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000214/1.204, allocations: 102.7 kB / 1.333 GB, free: 10.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.204, allocations: 9.844 kB / 1.333 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.204, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.204, allocations: 5.188 kB / 1.333 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.204, allocations: 26.22 kB / 1.333 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.204, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/1.204, allocations: 4.781 kB / 1.333 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/1.204, allocations: 3.469 kB / 1.333 GB, free: 10.27 MB / 1.014 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.0001041/1.205, allocations: 126.1 kB / 1.333 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/1.205, allocations: 6.172 kB / 1.333 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/1.205, allocations: 131.4 kB / 1.333 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.205, allocations: 1.094 kB / 1.333 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.205, allocations: 2.969 kB / 1.333 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.205, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/1.205, allocations: 180.5 kB / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/1.205, allocations: 1.062 kB / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.205, allocations: 24.11 kB / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.205, allocations: 0 / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.205, allocations: 5.656 kB / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.205, allocations: 1.125 kB / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.205, allocations: 2.531 kB / 1.333 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/1.206, allocations: 161 kB / 1.333 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/1.206, allocations: 93.61 kB / 1.334 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.206, allocations: 4 kB / 1.334 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/1.206, allocations: 12.84 kB / 1.334 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/1.206, allocations: 9.703 kB / 1.334 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.206, allocations: 4.281 kB / 1.334 GB, free: 9.707 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.475e-05/1.206, allocations: 81.59 kB / 1.334 GB, free: 9.633 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.206, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002845/1.209, allocations: 0.5578 MB / 1.334 GB, free: 9.613 MB / 1.014 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.003306/1.212, allocations: 359.8 kB / 1.335 GB, free: 9.488 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000234/1.212, allocations: 68.89 kB / 1.335 GB, free: 9.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.212, allocations: 0 / 1.335 GB, free: 9.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/1.212, allocations: 39.12 kB / 1.335 GB, free: 9.477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/1.213, allocations: 13.3 kB / 1.335 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/1.213, allocations: 367 kB / 1.335 GB, free: 9.188 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/1.214, allocations: 0.69 MB / 1.336 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/1.214, allocations: 18.44 kB / 1.336 GB, free: 8.484 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/1.214, allocations: 0 / 1.336 GB, free: 8.484 MB / 1.014 GB Notification: Performance of Templates: time 0.02898/1.243, allocations: 14.34 MB / 1.35 GB, free: 2.969 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.917101045954041]