Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 189.9 kB / 329.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.477/2.477, allocations: 225.6 MB / 0.6001 GB, free: 484 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009442, allocations: 106.5 kB / 0.7074 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006937/0.000694, allocations: 13.78 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.214, allocations: 109.1 MB / 0.9307 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001711/0.2158, allocations: 0.9813 MB / 0.9317 GB, free: 23.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.2211, allocations: 3.044 MB / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.2212, allocations: 4 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.2212, allocations: 3.938 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.2213, allocations: 0 / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.2219, allocations: 91.59 kB / 0.9348 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.222, allocations: 31.86 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.222, allocations: 4 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.2221, allocations: 19.97 kB / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.2222, allocations: 15.92 kB / 0.9348 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2222, allocations: 4 kB / 0.9348 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.2225, allocations: 51.84 kB / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.2226, allocations: 11.98 kB / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.2226, allocations: 29.7 kB / 0.9349 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2228, allocations: 40.17 kB / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2228, allocations: 0 / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2228, allocations: 0 / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2228, allocations: 0 / 0.935 GB, free: 20.53 MB / 0.5886 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.0004059/0.2233, allocations: 335.5 kB / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2233, allocations: 15.97 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.2235, allocations: 4.938 kB / 0.9353 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.2236, allocations: 168.3 kB / 0.9355 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2236, allocations: 4.375 kB / 0.9355 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.2237, allocations: 12.28 kB / 0.9355 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2239, allocations: 57.78 kB / 0.9355 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2239, allocations: 0 / 0.9355 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2239, allocations: 0 / 0.9355 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2239, allocations: 0 / 0.9355 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.224, allocations: 19.98 kB / 0.9356 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.2243, allocations: 173.6 kB / 0.9357 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2244, allocations: 50.5 kB / 0.9358 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.2245, allocations: 12.86 kB / 0.9358 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000981/0.2255, allocations: 0.5987 MB / 0.9364 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2256, allocations: 34.56 kB / 0.9364 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.545e-06/0.2256, allocations: 0 / 0.9364 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0007934/0.2264, allocations: 302.5 kB / 0.9367 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.2264, allocations: 55.41 kB / 0.9367 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.2265, allocations: 105.8 kB / 0.9368 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2266, allocations: 25.7 kB / 0.9369 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.2266, allocations: 92.05 kB / 0.937 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2266, allocations: 23.66 kB / 0.937 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.2267, allocations: 0 / 0.937 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.2268, allocations: 322.8 kB / 0.9373 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.205e-05/0.2268, allocations: 8 kB / 0.9373 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.2269, allocations: 53.14 kB / 0.9374 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.227, allocations: 24 kB / 0.9374 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.227, allocations: 3.938 kB / 0.9374 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002518/0.2273, allocations: 93.45 kB / 0.9375 GB, free: 17.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2273, allocations: 8 kB / 0.9375 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2273, allocations: 0 / 0.9375 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2274, allocations: 8.109 kB / 0.9375 GB, free: 17.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2276, allocations: 20 kB / 0.9375 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2276, allocations: 0 / 0.9375 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-05/0.2277, allocations: 12.22 kB / 0.9375 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2277, allocations: 4 kB / 0.9375 GB, free: 17.54 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.991e-05/0.2278, allocations: 114.7 kB / 0.9376 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2279, allocations: 7.984 kB / 0.9376 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.2279, allocations: 11.95 kB / 0.9376 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.228, allocations: 4 kB / 0.9376 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.228, allocations: 4 kB / 0.9377 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.228, allocations: 3.938 kB / 0.9377 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.2285, allocations: 173.7 kB / 0.9378 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2285, allocations: 0 / 0.9378 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.2288, allocations: 12 kB / 0.9378 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2288, allocations: 3.984 kB / 0.9378 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2289, allocations: 8 kB / 0.9378 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2289, allocations: 0 / 0.9378 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2289, allocations: 4.016 kB / 0.9378 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.2292, allocations: 179.3 kB / 0.938 GB, free: 16.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.2293, allocations: 89.08 kB / 0.9381 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.2293, allocations: 0 / 0.9381 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2296, allocations: 0 / 0.9381 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2297, allocations: 7.984 kB / 0.9381 GB, free: 16.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2297, allocations: 11.94 kB / 0.9381 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.2298, allocations: 75.28 kB / 0.9382 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.32e-07/0.2298, allocations: 0 / 0.9382 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006007/0.2304, allocations: 16 kB / 0.9382 GB, free: 16.73 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.2306, allocations: 103.2 kB / 0.9383 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.2308, allocations: 47.91 kB / 0.9384 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2308, allocations: 0 / 0.9384 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/0.2309, allocations: 19.92 kB / 0.9384 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.2315, allocations: 8 kB / 0.9384 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2326, allocations: 395 kB / 0.9388 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.2328, allocations: 0.6848 MB / 0.9394 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.233, allocations: 8 kB / 0.9394 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.233, allocations: 11.44 kB / 0.9394 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.2331, allocations: 0 / 0.9394 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.004933/0.238, allocations: 0.5666 MB / 0.94 GB, free: 14.83 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)