Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7499/0.7499, allocations: 131 MB / 146.3 MB, free: 1.309 MB / 106.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.0009026/0.0009026, allocations: 183.8 kB / 176.4 MB, free: 4.883 MB / 138.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 1.434/1.434, allocations: 225.7 MB / 431.9 MB, free: 8.828 MB / 314.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.0008608/0.0008606, allocations: 89.7 kB / 0.5003 GB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003348, allocations: 12 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 79.61 MB / 0.6663 GB, free: 8.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007563/0.1453, allocations: 322.1 kB / 0.6666 GB, free: 8.617 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1467, allocations: 1.196 MB / 0.6678 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.1468, allocations: 0 / 0.6678 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1468, allocations: 4 kB / 0.6678 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 1.877e-05/0.1468, allocations: 0 / 0.6678 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1472, allocations: 47.88 kB / 0.6678 GB, free: 7.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.249e-05/0.1472, allocations: 19.92 kB / 0.6678 GB, free: 7.301 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.1473, allocations: 4 kB / 0.6678 GB, free: 7.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.1473, allocations: 11.94 kB / 0.6678 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.1474, allocations: 11.97 kB / 0.6679 GB, free: 7.273 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1474, allocations: 0 / 0.6679 GB, free: 7.273 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1476, allocations: 91.91 kB / 0.6679 GB, free: 7.184 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.1476, allocations: 7.984 kB / 0.6679 GB, free: 7.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1477, allocations: 37.64 kB / 0.668 GB, free: 7.133 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1478, allocations: 59.86 kB / 0.668 GB, free: 7.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1478, allocations: 0 / 0.668 GB, free: 7.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1478, allocations: 0 / 0.668 GB, free: 7.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1479, allocations: 0 / 0.668 GB, free: 7.074 MB / 442.7 MB 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.0004442/0.1483, allocations: 327.6 kB / 0.6684 GB, free: 6.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1484, allocations: 8.031 kB / 0.6684 GB, free: 6.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1484, allocations: 4.922 kB / 0.6684 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1485, allocations: 168.7 kB / 0.6685 GB, free: 6.488 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1485, allocations: 4.375 kB / 0.6685 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1486, allocations: 384 / 0.6685 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1487, allocations: 50.12 kB / 0.6686 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1487, allocations: 192 / 0.6686 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1487, allocations: 3.938 kB / 0.6686 GB, free: 6.426 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1488, allocations: 4 kB / 0.6686 GB, free: 6.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.1488, allocations: 15.98 kB / 0.6686 GB, free: 6.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.149, allocations: 165.5 kB / 0.6688 GB, free: 6.195 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.1491, allocations: 42.64 kB / 0.6688 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.1492, allocations: 20.97 kB / 0.6688 GB, free: 6.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.1497, allocations: 0.5622 MB / 0.6694 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1497, allocations: 30.56 kB / 0.6694 GB, free: 5.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1497, allocations: 4 kB / 0.6694 GB, free: 5.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.001559/0.1513, allocations: 463 kB / 0.6698 GB, free: 4.883 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1514, allocations: 55.41 kB / 0.6699 GB, free: 4.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.1514, allocations: 89.86 kB / 0.67 GB, free: 4.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1514, allocations: 29.7 kB / 0.67 GB, free: 4.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.1515, allocations: 84.12 kB / 0.6701 GB, free: 4.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1515, allocations: 27.56 kB / 0.6701 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.1515, allocations: 4 kB / 0.6701 GB, free: 4.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1516, allocations: 314.8 kB / 0.6704 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.1517, allocations: 16 kB / 0.6704 GB, free: 4.234 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.1517, allocations: 28.05 kB / 0.6705 GB, free: 4.207 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.1518, allocations: 48.86 kB / 0.6705 GB, free: 4.156 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1518, allocations: 0 / 0.6705 GB, free: 4.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001279/0.152, allocations: 89.69 kB / 0.6706 GB, free: 4.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.152, allocations: 4 kB / 0.6706 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.152, allocations: 0 / 0.6706 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.152, allocations: 7.984 kB / 0.6706 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1521, allocations: 15.98 kB / 0.6706 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1521, allocations: 0 / 0.6706 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.1522, allocations: 4 kB / 0.6706 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1522, allocations: 8 kB / 0.6706 GB, free: 4.023 MB / 442.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 (9): * Single equations (assignments): 9 * 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 7.419e-05/0.1523, allocations: 109.8 kB / 0.6707 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.1523, allocations: 11.88 kB / 0.6707 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1525, allocations: 113.5 kB / 0.6709 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1525, allocations: 0 / 0.6709 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1525, allocations: 0 / 0.6709 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1525, allocations: 0 / 0.6709 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1527, allocations: 169.7 kB / 0.671 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1527, allocations: 0 / 0.671 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.1528, allocations: 19.94 kB / 0.671 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1528, allocations: 0 / 0.671 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1528, allocations: 256 / 0.671 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1528, allocations: 0 / 0.671 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1528, allocations: 7.938 kB / 0.671 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.153, allocations: 137.1 kB / 0.6712 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1531, allocations: 85.08 kB / 0.6713 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1531, allocations: 3.984 kB / 0.6713 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.1532, allocations: 0 / 0.6713 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.1532, allocations: 4 kB / 0.6713 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1532, allocations: 4 kB / 0.6713 GB, free: 3.273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.1532, allocations: 79.28 kB / 0.6713 GB, free: 3.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1532, allocations: 4.156 kB / 0.6713 GB, free: 3.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.1534, allocations: 27.98 kB / 0.6714 GB, free: 3.164 MB / 442.7 MB 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 (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.0001811/0.1536, allocations: 131.2 kB / 0.6715 GB, free: 3.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.1537, allocations: 48.08 kB / 0.6715 GB, free: 2.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1538, allocations: 192 / 0.6715 GB, free: 2.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.1538, allocations: 27.94 kB / 0.6716 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.1539, allocations: 19.86 kB / 0.6716 GB, free: 2.934 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.1543, allocations: 156.5 kB / 0.6717 GB, free: 2.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1545, allocations: 0.6833 MB / 0.6724 GB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.118e-05/0.1546, allocations: 11.98 kB / 0.6724 GB, free: 2.031 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.1546, allocations: 11.44 kB / 0.6724 GB, free: 2.02 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1546, allocations: 0 / 0.6724 GB, free: 2.02 MB / 442.7 MB Notification: Performance of Templates: time 0.00266/0.1573, allocations: 0.8113 MB / 0.6732 GB, free: 1.211 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)