Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 182.8 kB / 16.08 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4648/0.4648, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.7 MB / 353.2 MB, free: 1.078 MB / 282.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.0007719/0.000772, allocations: 90.16 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 8 kB / 0.4955 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2616, allocations: 71.34 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.000555/0.2622, allocations: 329.3 kB / 0.5655 GB, free: 42.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2635, allocations: 1.397 MB / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.2635, allocations: 0 / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-06/0.2635, allocations: 3.938 kB / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.086e-05/0.2635, allocations: 0 / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2638, allocations: 50.05 kB / 0.5669 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.1e-05/0.2639, allocations: 23.92 kB / 0.567 GB, free: 40.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.2639, allocations: 11.92 kB / 0.567 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.2639, allocations: 7.984 kB / 0.567 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.264, allocations: 15.92 kB / 0.567 GB, free: 40.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.264, allocations: 4 kB / 0.567 GB, free: 40.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2642, allocations: 88.77 kB / 0.5671 GB, free: 40.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.2642, allocations: 8 kB / 0.5671 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.2642, allocations: 43.75 kB / 0.5671 GB, free: 40.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.2644, allocations: 63.84 kB / 0.5672 GB, free: 40.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2644, allocations: 0 / 0.5672 GB, free: 40.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2644, allocations: 0 / 0.5672 GB, free: 40.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.2644, allocations: 0 / 0.5672 GB, free: 40.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003038/0.2647, allocations: 342.4 kB / 0.5675 GB, free: 39.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2647, allocations: 12.03 kB / 0.5675 GB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.2648, allocations: 4.5 kB / 0.5675 GB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.2648, allocations: 170.4 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2649, allocations: 4.375 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2649, allocations: 4.375 kB / 0.5677 GB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.265, allocations: 50 kB / 0.5678 GB, free: 39.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.265, allocations: 7.984 kB / 0.5678 GB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.265, allocations: 0 / 0.5678 GB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.265, allocations: 0 / 0.5678 GB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.2651, allocations: 27.98 kB / 0.5678 GB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.2652, allocations: 169.5 kB / 0.568 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.2653, allocations: 62.5 kB / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.2653, allocations: 24.84 kB / 0.568 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.2656, allocations: 0.5544 MB / 0.5686 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.2656, allocations: 42.5 kB / 0.5686 GB, free: 38.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2657, allocations: 3.984 kB / 0.5686 GB, free: 38.51 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01584/0.2815, allocations: 4.205 MB / 0.5727 GB, free: 34.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2816, allocations: 55.41 kB / 0.5728 GB, free: 34.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.2816, allocations: 93.86 kB / 0.5729 GB, free: 33.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.2817, allocations: 29.7 kB / 0.5729 GB, free: 33.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.34e-05/0.2817, allocations: 84.14 kB / 0.573 GB, free: 33.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.2818, allocations: 59.09 kB / 0.573 GB, free: 33.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.2819, allocations: 0 / 0.573 GB, free: 33.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.2819, allocations: 326.8 kB / 0.5734 GB, free: 33.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.2823, allocations: 303.9 kB / 0.5736 GB, free: 33.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.2827, allocations: 315.9 kB / 0.5739 GB, free: 32.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.284, allocations: 0.7469 MB / 0.5747 GB, free: 32.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.284, allocations: 8 kB / 0.5747 GB, free: 32.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001232/0.2852, allocations: 0.7903 MB / 0.5755 GB, free: 31.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2852, allocations: 7.938 kB / 0.5755 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2852, allocations: 0 / 0.5755 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2853, allocations: 0 / 0.5755 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.2859, allocations: 91.89 kB / 0.5755 GB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2859, allocations: 4 kB / 0.5755 GB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.2864, allocations: 8 kB / 0.5756 GB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.2864, allocations: 35.97 kB / 0.5756 GB, free: 31.17 MB / 410.7 MB 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 (18): * Single equations (assignments): 18 * 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.000143/0.2866, allocations: 125.8 kB / 0.5757 GB, free: 31.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.2866, allocations: 4 kB / 0.5757 GB, free: 31.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.2894, allocations: 1.388 MB / 0.5771 GB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2894, allocations: 4 kB / 0.5771 GB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2894, allocations: 0 / 0.5771 GB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2894, allocations: 3.984 kB / 0.5771 GB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.2916, allocations: 1.802 MB / 0.5788 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2916, allocations: 0 / 0.5788 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.2923, allocations: 111.9 kB / 0.5789 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2923, allocations: 0 / 0.5789 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.2924, allocations: 31.92 kB / 0.579 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2924, allocations: 4 kB / 0.579 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2924, allocations: 0 / 0.579 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.2942, allocations: 1.465 MB / 0.5804 GB, free: 26.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.2942, allocations: 92.97 kB / 0.5805 GB, free: 26.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.511e-05/0.2943, allocations: 11.94 kB / 0.5805 GB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.2948, allocations: 11.94 kB / 0.5805 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.2949, allocations: 43.97 kB / 0.5806 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.295, allocations: 32 kB / 0.5806 GB, free: 25.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.295, allocations: 83.33 kB / 0.5807 GB, free: 25.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.295, allocations: 0 / 0.5807 GB, free: 25.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000507/0.2955, allocations: 172 kB / 0.5808 GB, free: 25.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.0004466/0.296, allocations: 215.1 kB / 0.581 GB, free: 25.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009873/0.297, allocations: 0.7267 MB / 0.5818 GB, free: 24.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.297, allocations: 0 / 0.5818 GB, free: 24.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.2975, allocations: 447.8 kB / 0.5822 GB, free: 24.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2978, allocations: 20.09 kB / 0.5822 GB, free: 24.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.3005, allocations: 0.8544 MB / 0.583 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3006, allocations: 0.7223 MB / 0.5837 GB, free: 22.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001313/0.302, allocations: 297.5 kB / 0.584 GB, free: 22.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.3025, allocations: 95.41 kB / 0.5841 GB, free: 22.26 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3025, allocations: 0 / 0.5841 GB, free: 22.26 MB / 410.7 MB Notification: Performance of Templates: time 0.0112/0.3137, allocations: 10.59 MB / 0.5945 GB, free: 11.68 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)