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.001616/0.001624, allocations: 109.4 kB / 16.42 MB, free: 6.5 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.001507/0.001507, allocations: 187.9 kB / 17.35 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.753/2.753, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00347/1.063, allocations: 1.496 MB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001321/1.064, allocations: 0.6382 MB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/1.064, allocations: 8 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/1.064, allocations: 3.938 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/1.064, allocations: 3.938 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/1.065, allocations: 87.64 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/1.065, allocations: 35.91 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/1.065, allocations: 16 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/1.065, allocations: 19.92 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/1.065, allocations: 15.92 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/1.065, allocations: 4 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/1.065, allocations: 103.9 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/1.065, allocations: 7.938 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/1.065, allocations: 19.86 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/1.066, allocations: 83.83 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.066, allocations: 3.938 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/1.066, allocations: 0 / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.066, allocations: 0 / 1.17 GB, free: 1.289 MB / 0.8887 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.0005118/1.066, allocations: 369.1 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.066, allocations: 8.922 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/1.066, allocations: 8.828 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/1.066, allocations: 172.2 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/1.066, allocations: 384 / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/1.066, allocations: 8.312 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/1.067, allocations: 57.98 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.067, allocations: 3.938 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/1.067, allocations: 0 / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.067, allocations: 8 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/1.067, allocations: 35.91 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/1.067, allocations: 276.7 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/1.067, allocations: 30.56 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/1.067, allocations: 12.92 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/1.068, allocations: 0.5622 MB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.068, allocations: 38.5 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/1.068, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000267/1.068, allocations: 61.67 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.068, allocations: 51.53 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.068, allocations: 122.2 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.068, allocations: 29.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/1.069, allocations: 88.14 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/1.069, allocations: 7.891 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/1.069, allocations: 9.719 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.069, allocations: 322.8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/1.069, allocations: 7.984 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/1.069, allocations: 19.94 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/1.069, allocations: 24.84 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.069, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001265/1.069, allocations: 57.58 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.069, allocations: 8 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.069, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.069, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/1.069, allocations: 8.094 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.069, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/1.069, allocations: 11.92 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/1.069, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 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.247e-05/1.069, allocations: 113.8 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.069, allocations: 11.84 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/1.07, allocations: 65.2 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.07, allocations: 3.938 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.07, allocations: 4.031 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/1.07, allocations: 81.11 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/1.07, allocations: 3.938 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/1.07, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/1.07, allocations: 7.984 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001706/1.07, allocations: 132.9 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002011/1.07, allocations: 230.7 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.424e-05/1.07, allocations: 15.98 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.603e-05/1.07, allocations: 103.2 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/1.07, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004901/1.071, allocations: 106.4 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005096/1.071, allocations: 0.5817 MB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of Templates: time 0.003396/1.075, allocations: 0.7608 MB / 1.174 GB, free: 12.24 MB / 0.9044 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches