Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001972/0.001972, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002401/0.002401, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.876/2.876, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.652e-05, allocations: 7.125 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.004054/0.00409, allocations: 1.342 MB / 0.8121 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2227/0.2268, allocations: 130.1 MB / 0.9391 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2269, allocations: 0 / 0.9391 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.227, allocations: 7.938 kB / 0.9391 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.2271, allocations: 7.922 kB / 0.9391 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.2285, allocations: 342.2 kB / 0.9394 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.2287, allocations: 67.75 kB / 0.9395 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.2287, allocations: 4 kB / 0.9395 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.2288, allocations: 39.89 kB / 0.9395 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.2289, allocations: 31.94 kB / 0.9396 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2289, allocations: 8 kB / 0.9396 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009386/0.2298, allocations: 382.5 kB / 0.9399 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.67e-05/0.2299, allocations: 15.97 kB / 0.94 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.23, allocations: 23.92 kB / 0.94 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.2304, allocations: 167.5 kB / 0.9401 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2304, allocations: 0 / 0.9401 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2304, allocations: 0 / 0.9401 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.2304, allocations: 4 kB / 0.9401 GB, free: 13.19 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005914/0.231, allocations: 314 kB / 0.9404 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.231, allocations: 12.03 kB / 0.9405 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.2315, allocations: 60.59 kB / 0.9405 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2317, allocations: 105.8 kB / 0.9406 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2317, allocations: 8.312 kB / 0.9406 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.2317, allocations: 12.38 kB / 0.9406 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.232, allocations: 214 kB / 0.9408 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.232, allocations: 0 / 0.9408 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2321, allocations: 0 / 0.9408 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2321, allocations: 4 kB / 0.9408 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.2322, allocations: 47.95 kB / 0.9409 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.2324, allocations: 133.2 kB / 0.941 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2326, allocations: 82.62 kB / 0.9411 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.2327, allocations: 28.84 kB / 0.9411 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.2329, allocations: 19.98 kB / 0.9411 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.2329, allocations: 42.5 kB / 0.9412 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.2329, allocations: 0 / 0.9412 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.00152/0.2344, allocations: 487.4 kB / 0.9416 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.2345, allocations: 59.39 kB / 0.9417 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.2346, allocations: 89.86 kB / 0.9418 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2346, allocations: 33.7 kB / 0.9418 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.2347, allocations: 84.5 kB / 0.9419 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.2348, allocations: 75.52 kB / 0.942 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.2348, allocations: 41.7 kB / 0.942 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.235, allocations: 322.8 kB / 0.9423 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.2351, allocations: 31.98 kB / 0.9424 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.2352, allocations: 71.34 kB / 0.9424 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.2354, allocations: 123.4 kB / 0.9425 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2354, allocations: 0 / 0.9425 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002802/0.2357, allocations: 165.5 kB / 0.9427 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2357, allocations: 11.92 kB / 0.9427 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2357, allocations: 0 / 0.9427 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.2357, allocations: 4 kB / 0.9427 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.2359, allocations: 43.92 kB / 0.9428 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2359, allocations: 0 / 0.9428 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.236, allocations: 8 kB / 0.9428 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.236, allocations: 8 kB / 0.9428 GB, free: 10.26 MB / 0.9011 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.0001197/0.2361, allocations: 125.7 kB / 0.9429 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.2362, allocations: 15.95 kB / 0.9429 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.2362, allocations: 16.47 kB / 0.9429 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2362, allocations: 4 kB / 0.9429 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2363, allocations: 0 / 0.9429 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2363, allocations: 3.984 kB / 0.9429 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2364, allocations: 137.2 kB / 0.9431 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2364, allocations: 4 kB / 0.9431 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.2366, allocations: 31.98 kB / 0.9431 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2366, allocations: 3.984 kB / 0.9431 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2367, allocations: 8 kB / 0.9431 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2367, allocations: 0 / 0.9431 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2367, allocations: 128 / 0.9431 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.237, allocations: 224.9 kB / 0.9433 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.2371, allocations: 15.94 kB / 0.9433 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2371, allocations: 4.062 kB / 0.9433 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2372, allocations: 8 kB / 0.9433 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.2373, allocations: 15.97 kB / 0.9434 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2373, allocations: 8 kB / 0.9434 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.2373, allocations: 75.28 kB / 0.9434 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.2373, allocations: 0 / 0.9434 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002453/0.2376, allocations: 32 kB / 0.9435 GB, free: 9.484 MB / 0.9011 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.0001834/0.2378, allocations: 107.2 kB / 0.9436 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.238, allocations: 95.94 kB / 0.9437 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.238, allocations: 4 kB / 0.9437 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.2381, allocations: 53.97 kB / 0.9437 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.2385, allocations: 45.62 kB / 0.9438 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.2393, allocations: 409 kB / 0.9442 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.2394, allocations: 91.98 kB / 0.9442 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.2395, allocations: 24.58 kB / 0.9443 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.2395, allocations: 16.5 kB / 0.9443 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of SimCode: time 5.3e-07/0.2395, allocations: 0 / 0.9443 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of Templates: time 0.005221/0.2448, allocations: 1.435 MB / 0.9457 GB, free: 7.219 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.19237955706194]