Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.001467/0.001467, allocations: 92.7 kB / 19.44 MB, free: 328 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.001868/0.001868, allocations: 165.3 kB / 22.76 MB, free: 1.656 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.212/3.212, 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.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8775 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.271e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002711/0.002744, allocations: 1.337 MB / 0.8789 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.1879, allocations: 130.1 MB / 1.006 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.188, allocations: 0 / 1.006 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.701e-05/0.188, allocations: 7.922 kB / 1.006 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1882, allocations: 23.91 kB / 1.006 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1893, allocations: 338.2 kB / 1.006 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1895, allocations: 63.77 kB / 1.006 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1895, allocations: 7.984 kB / 1.006 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.1896, allocations: 43.95 kB / 1.006 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1897, allocations: 31.89 kB / 1.006 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1897, allocations: 4 kB / 1.006 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008997/0.1906, allocations: 378.5 kB / 1.007 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1907, allocations: 19.91 kB / 1.007 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.1907, allocations: 19.98 kB / 1.007 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.1911, allocations: 171.5 kB / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1912, allocations: 0 / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1912, allocations: 0 / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.1912, allocations: 4 kB / 1.007 GB, free: 1.562 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005305/0.1917, allocations: 313.9 kB / 1.007 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1917, allocations: 8.031 kB / 1.007 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.1922, allocations: 64.59 kB / 1.007 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1924, allocations: 105.8 kB / 1.007 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1924, allocations: 4.375 kB / 1.007 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.1924, allocations: 20.27 kB / 1.007 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.1928, allocations: 210.1 kB / 1.008 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1928, allocations: 4 kB / 1.008 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1928, allocations: 8 kB / 1.008 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1928, allocations: 0 / 1.008 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.193, allocations: 43.95 kB / 1.008 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.1932, allocations: 125.3 kB / 1.008 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1934, allocations: 90.67 kB / 1.008 GB, free: 468 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.1935, allocations: 32.78 kB / 1.008 GB, free: 432 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.1937, allocations: 23.98 kB / 1.008 GB, free: 408 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.1938, allocations: 34.5 kB / 1.008 GB, free: 364 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1938, allocations: 8 kB / 1.008 GB, free: 356 kB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.001604/0.1954, allocations: 477.4 kB / 1.008 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1954, allocations: 55.41 kB / 1.008 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.1955, allocations: 101.8 kB / 1.009 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1955, allocations: 33.83 kB / 1.009 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.1956, allocations: 80.52 kB / 1.009 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.1957, allocations: 67.39 kB / 1.009 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.1957, allocations: 45.7 kB / 1.009 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1959, allocations: 322.8 kB / 1.009 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.196, allocations: 35.98 kB / 1.009 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1961, allocations: 70.45 kB / 1.009 GB, free: 15 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1963, allocations: 119.3 kB / 1.009 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1963, allocations: 0 / 1.009 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002951/0.1966, allocations: 169.5 kB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1966, allocations: 4 kB / 1.009 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1966, allocations: 8 kB / 1.01 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1966, allocations: 3.984 kB / 1.01 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.1968, allocations: 39.92 kB / 1.01 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1968, allocations: 0 / 1.01 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.1969, allocations: 8 kB / 1.01 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1969, allocations: 4.125 kB / 1.01 GB, free: 14.63 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001187/0.197, allocations: 125.8 kB / 1.01 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1971, allocations: 23.89 kB / 1.01 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.1971, allocations: 12.47 kB / 1.01 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1971, allocations: 0 / 1.01 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1971, allocations: 8 kB / 1.01 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1971, allocations: 3.984 kB / 1.01 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1973, allocations: 129.2 kB / 1.01 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1973, allocations: 3.984 kB / 1.01 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1975, allocations: 43.92 kB / 1.01 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1975, allocations: 0 / 1.01 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1975, allocations: 0 / 1.01 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1975, allocations: 0 / 1.01 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1975, allocations: 4 kB / 1.01 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.1979, allocations: 218.7 kB / 1.01 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.198, allocations: 16 kB / 1.01 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.198, allocations: 11.98 kB / 1.01 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1981, allocations: 8 kB / 1.01 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1982, allocations: 11.97 kB / 1.01 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1982, allocations: 11.98 kB / 1.01 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.1982, allocations: 79.28 kB / 1.01 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1982, allocations: 0 / 1.01 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002632/0.1985, allocations: 28 kB / 1.01 GB, free: 13.84 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.0001689/0.1987, allocations: 107.3 kB / 1.01 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1989, allocations: 95.89 kB / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1989, allocations: 0 / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.199, allocations: 53.8 kB / 1.011 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1993, allocations: 34.27 kB / 1.011 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008297/0.2002, allocations: 417 kB / 1.011 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.2003, allocations: 84.05 kB / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.2004, allocations: 24.64 kB / 1.011 GB, free: 13 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.2004, allocations: 16.5 kB / 1.011 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.2004, allocations: 0 / 1.011 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of Templates: time 0.004834/0.2053, allocations: 1.424 MB / 1.012 GB, free: 11.59 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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: 8.64799014700111]