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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006867/0.006867, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001124/0.001124, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.936/2.936, allocations: 461.8 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3673, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002903/0.3702, allocations: 1.494 MB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3713, allocations: 0.6431 MB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.3714, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.3714, allocations: 7.922 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.3715, allocations: 3.938 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3717, allocations: 91.67 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.3718, allocations: 35.92 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.3719, allocations: 11.98 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.3719, allocations: 19.92 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.372, allocations: 19.86 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.372, allocations: 4 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3722, allocations: 99.89 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.3722, allocations: 7.984 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3722, allocations: 15.88 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.3724, allocations: 83.84 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3724, allocations: 0 / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3724, allocations: 7.938 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.3724, allocations: 0 / 1.21 GB, free: 7.129 MB / 0.9669 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.0003433/0.3728, allocations: 367.2 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.592e-05/0.3728, allocations: 8.625 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.3728, allocations: 12.94 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3729, allocations: 176.2 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-06/0.3729, allocations: 384 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.373, allocations: 4.375 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3731, allocations: 57.98 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-06/0.3731, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.3731, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-06/0.3731, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.3732, allocations: 31.92 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.3735, allocations: 280.8 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.3736, allocations: 34.5 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.3736, allocations: 12.92 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/0.3741, allocations: 0.5622 MB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3742, allocations: 38.5 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.3742, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002003/0.3744, allocations: 57.67 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3744, allocations: 55.41 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.3745, allocations: 125.8 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3746, allocations: 25.7 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.3746, allocations: 100.1 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.3746, allocations: 4 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3747, allocations: 13.72 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3748, allocations: 322.8 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.3748, allocations: 8 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.3749, allocations: 11.92 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.375, allocations: 28.92 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.375, allocations: 0 / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001299/0.3751, allocations: 57.58 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.3751, allocations: 4 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.3751, allocations: 0 / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.3752, allocations: 4 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.3752, allocations: 7.938 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.3752, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.3753, allocations: 7.984 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3753, allocations: 8.031 kB / 1.213 GB, free: 4.387 MB / 0.9669 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 6.777e-05/0.3753, allocations: 109.8 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3754, allocations: 11.84 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.3755, allocations: 65.19 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3756, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3756, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3756, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3757, allocations: 173.7 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3757, allocations: 4.031 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.3758, allocations: 11.97 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3758, allocations: 0 / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.3758, allocations: 4 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3758, allocations: 0 / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3758, allocations: 4 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.376, allocations: 147.4 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.3761, allocations: 97.03 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.3761, allocations: 0 / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.3761, allocations: 0 / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.3762, allocations: 7.938 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3762, allocations: 0 / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.3762, allocations: 95.27 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3762, allocations: 0 / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002301/0.3765, allocations: 15.94 kB / 1.213 GB, free: 3.551 MB / 0.9669 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.000146/0.3766, allocations: 111.2 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.3768, allocations: 23.98 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3768, allocations: 0 / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.3768, allocations: 15.92 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.377, allocations: 5.719 kB / 1.213 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.3773, allocations: 138.6 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3776, allocations: 0.6846 MB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.3777, allocations: 4 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.3777, allocations: 15.42 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3777, allocations: 0 / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Templates: time 0.002563/0.3803, allocations: 491.2 kB / 1.215 GB, free: 2.02 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches