Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.667/2.667, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.002021/0.002021, allocations: 195.5 kB / 329.5 MB, free: 1.176 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.405/2.405, allocations: 225.6 MB / 0.6001 GB, free: 460 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.001032/0.001032, allocations: 102.1 kB / 0.7074 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004923, allocations: 15.8 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 109.1 MB / 0.9308 GB, free: 24.87 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001055/0.2237, allocations: 334.1 kB / 0.9311 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.2259, allocations: 1.026 MB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.226, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.226, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.2261, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.2266, allocations: 51.88 kB / 0.9321 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.2267, allocations: 15.92 kB / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.2268, allocations: 0 / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.2268, allocations: 11.98 kB / 0.9322 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.2269, allocations: 7.984 kB / 0.9322 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.227, allocations: 8 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.2273, allocations: 95.83 kB / 0.9323 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.2274, allocations: 0 / 0.9323 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.2274, allocations: 25.7 kB / 0.9323 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.2276, allocations: 43.94 kB / 0.9323 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2276, allocations: 0 / 0.9323 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2276, allocations: 0 / 0.9323 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2277, allocations: 0 / 0.9323 GB, free: 23.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005283/0.2282, allocations: 343.5 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2283, allocations: 12.03 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.2283, allocations: 4.875 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2285, allocations: 160.7 kB / 0.9328 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2285, allocations: 8.312 kB / 0.9328 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2286, allocations: 4.359 kB / 0.9329 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.2287, allocations: 46.25 kB / 0.9329 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2288, allocations: 192 / 0.9329 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2288, allocations: 3.938 kB / 0.9329 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2288, allocations: 4 kB / 0.9329 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.2289, allocations: 16 kB / 0.9329 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.2292, allocations: 157.6 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2294, allocations: 46.56 kB / 0.9331 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.2295, allocations: 20.98 kB / 0.9331 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/0.2302, allocations: 0.5583 MB / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2303, allocations: 34.56 kB / 0.9337 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/0.2303, allocations: 0 / 0.9337 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.003636/0.2339, allocations: 470.4 kB / 0.9342 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.2341, allocations: 51.41 kB / 0.9342 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.744e-05/0.2342, allocations: 89.86 kB / 0.9343 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2342, allocations: 33.7 kB / 0.9343 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.2342, allocations: 80.14 kB / 0.9344 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.2343, allocations: 27.64 kB / 0.9344 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.2344, allocations: 0 / 0.9344 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.2344, allocations: 315 kB / 0.9347 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.2345, allocations: 23.92 kB / 0.9348 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/0.2346, allocations: 20 kB / 0.9348 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.2348, allocations: 20 kB / 0.9348 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2348, allocations: 0 / 0.9348 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003129/0.2351, allocations: 97.58 kB / 0.9349 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.2352, allocations: 4 kB / 0.9349 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2352, allocations: 0 / 0.9349 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2352, allocations: 4 kB / 0.9349 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2355, allocations: 12 kB / 0.9349 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2355, allocations: 4 kB / 0.9349 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.2356, allocations: 4 kB / 0.9349 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2357, allocations: 4 kB / 0.9349 GB, free: 20.21 MB / 0.5886 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 (9): * Single equations (assignments): 9 * 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 0.000104/0.2358, allocations: 109.8 kB / 0.935 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2359, allocations: 11.92 kB / 0.935 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.2363, allocations: 101.6 kB / 0.9351 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2363, allocations: 0 / 0.9351 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2364, allocations: 0 / 0.9351 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2364, allocations: 0 / 0.9351 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.2366, allocations: 177.6 kB / 0.9353 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2366, allocations: 0 / 0.9353 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.2369, allocations: 19.94 kB / 0.9353 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.2369, allocations: 3.984 kB / 0.9353 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.237, allocations: 7.922 kB / 0.9353 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.237, allocations: 4.156 kB / 0.9353 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.237, allocations: 0 / 0.9353 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.2374, allocations: 140.9 kB / 0.9355 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.2375, allocations: 85.08 kB / 0.9355 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.2375, allocations: 0 / 0.9355 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2377, allocations: 0 / 0.9355 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.2377, allocations: 7.984 kB / 0.9356 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2378, allocations: 4 kB / 0.9356 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.2378, allocations: 83.34 kB / 0.9356 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.61e-07/0.2378, allocations: 0 / 0.9356 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004739/0.2383, allocations: 20 kB / 0.9357 GB, free: 19.35 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0003116/0.2387, allocations: 135.7 kB / 0.9358 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.2389, allocations: 48.08 kB / 0.9358 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.239, allocations: 192 / 0.9358 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2391, allocations: 31.92 kB / 0.9359 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2394, allocations: 23.91 kB / 0.9359 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.2401, allocations: 152.8 kB / 0.936 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2403, allocations: 0.677 MB / 0.9367 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.2405, allocations: 15.75 kB / 0.9367 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2405, allocations: 11.44 kB / 0.9367 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.364e-06/0.2406, allocations: 4 kB / 0.9367 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.005763/0.2463, allocations: 0.7745 MB / 0.9375 GB, free: 17.43 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)