Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002298/0.002298, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00265/0.00265, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.229e-05, allocations: 3.094 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002732/0.002764, allocations: 1.358 MB / 0.7877 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2086/0.2114, allocations: 143.7 MB / 0.928 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.2114, allocations: 0 / 0.928 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 5.466e-05/0.2115, allocations: 3.938 kB / 0.928 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2116, allocations: 11.91 kB / 0.928 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.2127, allocations: 334.3 kB / 0.9283 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2128, allocations: 71.69 kB / 0.9284 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.2128, allocations: 4 kB / 0.9284 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.2129, allocations: 43.89 kB / 0.9284 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 9.914e-05/0.213, allocations: 23.95 kB / 0.9284 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.213, allocations: 4 kB / 0.9284 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.2138, allocations: 386.5 kB / 0.9288 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.2139, allocations: 19.97 kB / 0.9288 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.214, allocations: 23.91 kB / 0.9288 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.2143, allocations: 167.5 kB / 0.929 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2143, allocations: 4 kB / 0.929 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2143, allocations: 0 / 0.929 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2143, allocations: 0 / 0.929 GB, free: 10.29 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005522/0.2149, allocations: 411.9 kB / 0.9294 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2149, allocations: 12.02 kB / 0.9294 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.2154, allocations: 60.61 kB / 0.9295 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2155, allocations: 108.6 kB / 0.9296 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2155, allocations: 8.375 kB / 0.9296 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2156, allocations: 16.36 kB / 0.9296 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.2158, allocations: 206 kB / 0.9298 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2158, allocations: 0 / 0.9298 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2159, allocations: 4 kB / 0.9298 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2159, allocations: 3.938 kB / 0.9298 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.216, allocations: 39.95 kB / 0.9298 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.2162, allocations: 136.5 kB / 0.93 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.2164, allocations: 91.11 kB / 0.9301 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.2165, allocations: 27.69 kB / 0.9301 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.2167, allocations: 31.97 kB / 0.9301 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.2167, allocations: 37.33 kB / 0.9301 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.2167, allocations: 0 / 0.9301 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001393/0.2181, allocations: 459.3 kB / 0.9306 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003192/0.2184, allocations: 59.39 kB / 0.9306 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2185, allocations: 157.9 kB / 0.9308 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2186, allocations: 29.7 kB / 0.9308 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.2186, allocations: 127.2 kB / 0.9309 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.2187, allocations: 75.38 kB / 0.931 GB, free: 7.992 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.2188, allocations: 47.36 kB / 0.9311 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002848/0.2191, allocations: 0.4961 MB / 0.9315 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.923e-05/0.2192, allocations: 32.11 kB / 0.9316 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.2193, allocations: 76.34 kB / 0.9316 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.2195, allocations: 126.7 kB / 0.9318 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2195, allocations: 0 / 0.9318 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002666/0.2198, allocations: 153.5 kB / 0.9319 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2198, allocations: 4 kB / 0.9319 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2198, allocations: 4 kB / 0.9319 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2198, allocations: 0 / 0.9319 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.22, allocations: 43.92 kB / 0.932 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.22, allocations: 3.938 kB / 0.932 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.22, allocations: 8 kB / 0.932 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2201, allocations: 8 kB / 0.932 GB, free: 6.941 MB / 0.8855 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.0001401/0.2202, allocations: 172.5 kB / 0.9321 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2202, allocations: 11.95 kB / 0.9322 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.2203, allocations: 28.44 kB / 0.9322 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2203, allocations: 0 / 0.9322 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2203, allocations: 0 / 0.9322 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2203, allocations: 0 / 0.9322 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.2205, allocations: 144.5 kB / 0.9323 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2205, allocations: 3.938 kB / 0.9323 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.2207, allocations: 35.98 kB / 0.9324 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2207, allocations: 4 kB / 0.9324 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2207, allocations: 4 kB / 0.9324 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2207, allocations: 4 kB / 0.9324 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2207, allocations: 0 / 0.9324 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.2211, allocations: 206.4 kB / 0.9326 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.2211, allocations: 19.94 kB / 0.9326 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2212, allocations: 4 kB / 0.9326 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2213, allocations: 8.172 kB / 0.9326 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2213, allocations: 11.98 kB / 0.9326 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2213, allocations: 8 kB / 0.9326 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.2214, allocations: 135.2 kB / 0.9327 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.2214, allocations: 0 / 0.9327 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002275/0.2216, allocations: 28 kB / 0.9328 GB, free: 6.059 MB / 0.8855 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.0001535/0.2218, allocations: 99.25 kB / 0.9329 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.222, allocations: 111.5 kB / 0.933 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.222, allocations: 0 / 0.933 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.2221, allocations: 59.59 kB / 0.933 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2224, allocations: 44.41 kB / 0.9331 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.2232, allocations: 404.5 kB / 0.9335 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.12e-05/0.2233, allocations: 84.06 kB / 0.9335 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.2234, allocations: 24.62 kB / 0.9336 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.2235, allocations: 16.5 kB / 0.9336 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.2235, allocations: 0 / 0.9336 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of Templates: time 0.00543/0.2289, allocations: 1.432 MB / 0.935 GB, free: 3.777 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.285296397982165]