Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.879/1.879, allocations: 287.4 MB / 303.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008962/0.0008963, allocations: 184.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.000814, allocations: 92.03 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005207, allocations: 17.41 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2296, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007568/0.2304, allocations: 331.5 kB / 0.9796 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2318, allocations: 1.031 MB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.2319, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2319, allocations: 3.938 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.186e-05/0.232, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.2323, allocations: 47.89 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.177e-05/0.2324, allocations: 15.98 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.2325, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.2325, allocations: 19.92 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.2326, allocations: 3.984 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2326, allocations: 4 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.2328, allocations: 87.89 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2328, allocations: 7.938 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.2329, allocations: 25.7 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.233, allocations: 47.88 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.233, allocations: 4 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.233, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.233, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 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.0003583/0.2334, allocations: 335.5 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2334, allocations: 8.031 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.2335, allocations: 4.844 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.704e-05/0.2336, allocations: 172.5 kB / 0.9814 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2336, allocations: 4.375 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2336, allocations: 4.375 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2338, allocations: 42.25 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2338, allocations: 192 / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2338, allocations: 7.938 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.2338, allocations: 7.938 kB / 0.9814 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.2339, allocations: 11.98 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.234, allocations: 157.7 kB / 0.9816 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.2341, allocations: 38.64 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.2342, allocations: 24.97 kB / 0.9817 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/0.2346, allocations: 0.5544 MB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2347, allocations: 34.56 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.2347, allocations: 0 / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001999/0.2367, allocations: 462.4 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.2367, allocations: 51.41 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.2368, allocations: 93.86 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2368, allocations: 25.7 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.623e-05/0.2368, allocations: 88.14 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2369, allocations: 27.53 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.2369, allocations: 8 kB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.2369, allocations: 310.8 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.237, allocations: 19.98 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.237, allocations: 19.98 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2372, allocations: 56.92 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2372, allocations: 4.125 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001646/0.2374, allocations: 81.62 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2374, allocations: 7.938 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2374, allocations: 0 / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2374, allocations: 0 / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2376, allocations: 23.98 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2376, allocations: 0 / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.2376, allocations: 0 / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2377, allocations: 4 kB / 0.9835 GB, free: 23.49 MB / 0.6198 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 6.569e-05/0.2377, allocations: 113.8 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.2378, allocations: 15.84 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.238, allocations: 101.6 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.238, allocations: 0 / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.238, allocations: 4 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.2381, allocations: 81.11 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.2381, allocations: 0 / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.2382, allocations: 0 / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.2382, allocations: 11.98 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002332/0.2385, allocations: 160.9 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002859/0.2388, allocations: 286.6 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.088e-05/0.2388, allocations: 32.06 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.481e-05/0.2389, allocations: 75.28 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of Backend: time 5.41e-07/0.2389, allocations: 0 / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.2394, allocations: 146.3 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003118/0.2398, allocations: 0.5802 MB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.00373/0.2435, allocations: 0.9668 MB / 0.986 GB, free: 20.84 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)