Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 189.2 kB / 16.13 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6552, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003011/0.6582, allocations: 1.562 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.6594, allocations: 0.6591 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.6595, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.6595, allocations: 7.922 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.6596, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.6599, allocations: 59.83 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.66, allocations: 35.91 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.6601, allocations: 15.98 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.6601, allocations: 15.94 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.6602, allocations: 19.86 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.6602, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.6604, allocations: 99.88 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.6604, allocations: 11.94 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.6605, allocations: 19.81 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.6607, allocations: 85.8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6607, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6607, allocations: 4 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6607, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006072/0.6613, allocations: 359.4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.6614, allocations: 12.03 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.6614, allocations: 4.844 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.6616, allocations: 172.3 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6617, allocations: 384 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.6617, allocations: 4.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.6619, allocations: 58 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6619, allocations: 3.984 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6619, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.662, allocations: 3.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6621, allocations: 35.91 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.6626, allocations: 276.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.6628, allocations: 30.58 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.6628, allocations: 16.91 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.6635, allocations: 0.5622 MB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.6636, allocations: 34.55 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.6636, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003014/0.6639, allocations: 61.59 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.6639, allocations: 59.41 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.6641, allocations: 121.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.6641, allocations: 25.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.6642, allocations: 84.14 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.6642, allocations: 7.906 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.6643, allocations: 17.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6645, allocations: 322.9 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.6645, allocations: 11.98 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.6646, allocations: 11.94 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.6647, allocations: 24.84 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6647, allocations: 0 / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.6648, allocations: 53.69 kB / 1.021 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6648, allocations: 10.28 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6648, allocations: 4 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.6649, allocations: 3.984 kB / 1.021 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.665, allocations: 4 kB / 1.021 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.665, allocations: 0 / 1.021 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.6651, allocations: 7.844 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6651, allocations: 7.938 kB / 1.021 GB, free: 13.4 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001067/0.6652, allocations: 113.7 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.6652, allocations: 7.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.6654, allocations: 65.2 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6654, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.6654, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6655, allocations: 3.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.6657, allocations: 173.7 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6657, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.6657, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6657, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.6658, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6658, allocations: 4.031 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6658, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.666, allocations: 159.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.666, allocations: 85.02 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.6661, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.6661, allocations: 7.984 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.6662, allocations: 4.031 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.6662, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.24e-05/0.6663, allocations: 95.27 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6663, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002511/0.6666, allocations: 15.94 kB / 1.022 GB, free: 12.57 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0002153/0.6668, allocations: 103.8 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.6669, allocations: 31.91 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.667, allocations: 4.062 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.667, allocations: 8 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.6673, allocations: 4 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.6677, allocations: 140.4 kB / 1.022 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.668, allocations: 0.681 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.6681, allocations: 11.84 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.6681, allocations: 11.44 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6681, allocations: 0 / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.003305/0.6714, allocations: 463.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches