Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.249/1.249, allocations: 255.9 MB / 271.2 MB, free: 8.871 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.0008558/0.0008558, allocations: 190.2 kB / 330.8 MB, free: 484 kB / 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 1.309/1.309, allocations: 225.7 MB / 0.6016 GB, free: 1.57 MB / 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.0007028/0.0007028, allocations: 99.64 kB / 0.709 GB, free: 7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 109.2 MB / 0.9328 GB, free: 6.301 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005153/0.1472, allocations: 318 kB / 0.9331 GB, free: 5.992 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1484, allocations: 1.357 MB / 0.9344 GB, free: 4.582 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-06/0.1484, allocations: 0 / 0.9344 GB, free: 4.582 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.137e-06/0.1484, allocations: 0 / 0.9344 GB, free: 4.582 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.1484, allocations: 0 / 0.9344 GB, free: 4.582 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1486, allocations: 51.88 kB / 0.9344 GB, free: 4.531 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.161e-05/0.1487, allocations: 7.938 kB / 0.9344 GB, free: 4.523 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.1487, allocations: 4 kB / 0.9345 GB, free: 4.52 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.1487, allocations: 3.938 kB / 0.9345 GB, free: 4.516 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.1488, allocations: 0 / 0.9345 GB, free: 4.516 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.1488, allocations: 0 / 0.9345 GB, free: 4.516 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.149, allocations: 99.83 kB / 0.9345 GB, free: 4.418 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.149, allocations: 0 / 0.9345 GB, free: 4.418 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.149, allocations: 25.7 kB / 0.9346 GB, free: 4.387 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.669e-05/0.1491, allocations: 47.94 kB / 0.9346 GB, free: 4.34 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1491, allocations: 4 kB / 0.9346 GB, free: 4.336 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1491, allocations: 0 / 0.9346 GB, free: 4.336 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.1491, allocations: 0 / 0.9346 GB, free: 4.336 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001731/0.1493, allocations: 323.6 kB / 0.9349 GB, free: 3.973 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1493, allocations: 11.98 kB / 0.9349 GB, free: 3.961 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.1494, allocations: 4.938 kB / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.584e-05/0.1494, allocations: 160.4 kB / 0.9351 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1494, allocations: 384 / 0.9351 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.1495, allocations: 4.375 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.446e-05/0.1495, allocations: 34.02 kB / 0.9351 GB, free: 3.719 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1495, allocations: 11.86 kB / 0.9351 GB, free: 3.707 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.1495, allocations: 0 / 0.9351 GB, free: 3.707 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1496, allocations: 0 / 0.9351 GB, free: 3.707 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.1496, allocations: 4 kB / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.097e-05/0.1497, allocations: 153.7 kB / 0.9353 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.467e-05/0.1497, allocations: 18.61 kB / 0.9353 GB, free: 3.477 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.023e-05/0.1497, allocations: 4.859 kB / 0.9353 GB, free: 3.469 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/0.15, allocations: 0.5545 MB / 0.9359 GB, free: 2.785 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.1501, allocations: 42.48 kB / 0.9359 GB, free: 2.734 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1501, allocations: 4 kB / 0.9359 GB, free: 2.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 9.394e-05/0.1502, allocations: 33.64 kB / 0.9359 GB, free: 2.691 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.438e-05/0.1502, allocations: 55.41 kB / 0.936 GB, free: 2.625 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.421e-05/0.1502, allocations: 89.86 kB / 0.9361 GB, free: 2.527 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-06/0.1502, allocations: 25.7 kB / 0.9361 GB, free: 2.496 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-06/0.1502, allocations: 80.14 kB / 0.9362 GB, free: 2.414 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1502, allocations: 0 / 0.9362 GB, free: 2.414 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.1503, allocations: 0 / 0.9362 GB, free: 2.414 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.128e-05/0.1503, allocations: 319 kB / 0.9365 GB, free: 2.094 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.1503, allocations: 4 kB / 0.9365 GB, free: 2.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.1503, allocations: 0 / 0.9365 GB, free: 2.09 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.1503, allocations: 16.78 kB / 0.9365 GB, free: 2.07 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1503, allocations: 0 / 0.9365 GB, free: 2.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.568e-05/0.1504, allocations: 29.7 kB / 0.9365 GB, free: 2.035 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.1504, allocations: 7.938 kB / 0.9365 GB, free: 2.027 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1504, allocations: 0 / 0.9365 GB, free: 2.027 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1504, allocations: 4.031 kB / 0.9365 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.1505, allocations: 8 kB / 0.9366 GB, free: 2.016 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1505, allocations: 0 / 0.9366 GB, free: 2.016 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-06/0.1505, allocations: 0 / 0.9366 GB, free: 2.016 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.1505, allocations: 0 / 0.9366 GB, free: 2.016 MB / 0.573 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 (1): * Single equations (assignments): 1 * 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 3.49e-05/0.1505, allocations: 115 kB / 0.9367 GB, free: 1.895 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.1505, allocations: 7.938 kB / 0.9367 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.1506, allocations: 48.66 kB / 0.9367 GB, free: 1.828 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.1506, allocations: 0 / 0.9367 GB, free: 1.828 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1506, allocations: 0 / 0.9367 GB, free: 1.828 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1506, allocations: 0 / 0.9367 GB, free: 1.828 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.04e-05/0.1507, allocations: 153.6 kB / 0.9369 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1507, allocations: 4 kB / 0.9369 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.1507, allocations: 0 / 0.9369 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1507, allocations: 3.938 kB / 0.9369 GB, free: 1.621 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.1507, allocations: 4 kB / 0.9369 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1507, allocations: 0 / 0.9369 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1507, allocations: 0 / 0.9369 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.071e-05/0.1508, allocations: 65.09 kB / 0.9369 GB, free: 1.535 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.1508, allocations: 81.11 kB / 0.937 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.1508, allocations: 3.938 kB / 0.937 GB, free: 1.434 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.1508, allocations: 0 / 0.937 GB, free: 1.434 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-06/0.1508, allocations: 0 / 0.937 GB, free: 1.434 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1508, allocations: 0 / 0.937 GB, free: 1.434 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.377e-06/0.1508, allocations: 75.28 kB / 0.9371 GB, free: 1.359 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.1509, allocations: 4.031 kB / 0.9371 GB, free: 1.355 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001882/0.151, allocations: 8 kB / 0.9371 GB, free: 1.348 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001106/0.1512, allocations: 115.2 kB / 0.9372 GB, free: 1.227 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.589e-05/0.1512, allocations: 4 kB / 0.9372 GB, free: 1.223 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1512, allocations: 0 / 0.9372 GB, free: 1.223 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.1512, allocations: 0 / 0.9372 GB, free: 1.223 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.1513, allocations: 4.281 kB / 0.9372 GB, free: 1.219 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001107/0.1515, allocations: 78.83 kB / 0.9373 GB, free: 1.117 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.69e-05/0.1515, allocations: 0.6731 MB / 0.9379 GB, free: 428 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.1516, allocations: 4 kB / 0.938 GB, free: 424 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-06/0.1516, allocations: 11.44 kB / 0.938 GB, free: 412 kB / 0.573 GB Notification: Performance of SimCode: time 2.1e-07/0.1516, allocations: 3.938 kB / 0.938 GB, free: 408 kB / 0.573 GB Notification: Performance of Templates: time 0.001535/0.1531, allocations: 295.2 kB / 0.9382 GB, free: 116 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)