Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001606/0.001606, allocations: 109.3 kB / 16.41 MB, free: 6.492 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.001758/0.001758, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9733, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002887/0.9762, allocations: 1.498 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.9774, allocations: 0.6505 MB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.9775, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.9775, allocations: 3.938 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.9776, allocations: 15.91 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.9781, allocations: 71.73 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.9782, allocations: 39.86 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.9783, allocations: 16 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.9783, allocations: 19.91 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.9784, allocations: 15.92 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.9784, allocations: 7.938 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.9786, allocations: 91.91 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.9787, allocations: 11.98 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.9787, allocations: 27.8 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.9789, allocations: 83.78 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.9789, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9789, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9789, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 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.0004771/0.9794, allocations: 361.1 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9795, allocations: 16.02 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.9795, allocations: 8.844 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.9797, allocations: 172.2 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.9797, allocations: 384 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.9797, allocations: 8.375 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.9799, allocations: 61.73 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.9799, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9799, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9799, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.98, allocations: 27.98 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.9804, allocations: 280.7 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.9806, allocations: 38.5 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.9806, allocations: 12.92 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006066/0.9812, allocations: 0.5622 MB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.9813, allocations: 30.56 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.9813, allocations: 4 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002564/0.9816, allocations: 65.61 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.9816, allocations: 55.41 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.9817, allocations: 121.8 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.9817, allocations: 25.7 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.9818, allocations: 84.14 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.9818, allocations: 11.89 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.9819, allocations: 17.84 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.982, allocations: 318.8 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.9821, allocations: 11.98 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.9821, allocations: 4 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.9822, allocations: 32.78 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9822, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001283/0.9823, allocations: 69.58 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9823, allocations: 4 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9824, allocations: 0 / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9824, allocations: 4 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.077e-05/0.9825, allocations: 4 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.9825, allocations: 0 / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.9825, allocations: 7.922 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.9825, allocations: 4 kB / 1.213 GB, free: 8.344 MB / 0.9356 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 8.193e-05/0.9826, allocations: 113.7 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.9827, allocations: 11.94 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.9828, allocations: 61.2 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9828, allocations: 0 / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.9828, allocations: 0 / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.9829, allocations: 81.11 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.9829, allocations: 7.875 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.983, allocations: 3.984 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.983, allocations: 7.984 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001585/0.9832, allocations: 133 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002039/0.9834, allocations: 226.7 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.34e-05/0.9835, allocations: 19.86 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.9836, allocations: 95.27 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of Backend: time 3.7e-07/0.9836, allocations: 8.062 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.984, allocations: 106.5 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005132/0.9846, allocations: 0.5777 MB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.00321/0.9878, allocations: 0.7487 MB / 1.215 GB, free: 6.039 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches