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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001598/0.001598, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.001523/0.001523, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.88 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7622, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002705/0.7649, allocations: 1.487 MB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.7659, allocations: 0.646 MB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.766, allocations: 0 / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.7661, allocations: 6.016 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.7661, allocations: 8.672 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.7665, allocations: 78.86 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.7666, allocations: 42.36 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.7667, allocations: 17.34 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.7668, allocations: 20.48 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.7668, allocations: 15.39 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.7669, allocations: 2.938 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.7671, allocations: 99.25 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.7671, allocations: 7.031 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.7671, allocations: 17.62 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.7673, allocations: 90.08 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7673, allocations: 5 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7673, allocations: 0 / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.7674, allocations: 0 / 1.085 GB, free: 15.97 MB / 0.8419 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.0004704/0.7678, allocations: 366.1 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7679, allocations: 9.844 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.7679, allocations: 11.25 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7681, allocations: 172.5 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7681, allocations: 1.719 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.7681, allocations: 7.438 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.7683, allocations: 55.94 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7683, allocations: 1.781 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.7683, allocations: 0 / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7683, allocations: 1.312 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.7684, allocations: 31.45 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.7688, allocations: 280.8 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.7689, allocations: 34.31 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.769, allocations: 16.89 kB / 1.086 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.7696, allocations: 0.5601 MB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.7696, allocations: 36.59 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7697, allocations: 4 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002732/0.7699, allocations: 62.75 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.77, allocations: 52.06 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.7701, allocations: 120.3 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.7702, allocations: 25.7 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.7702, allocations: 88.06 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.7703, allocations: 6.109 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.7703, allocations: 21.42 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7705, allocations: 317.8 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.7705, allocations: 11.31 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.7706, allocations: 11.3 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.7707, allocations: 25.81 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7707, allocations: 0 / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001428/0.7708, allocations: 64.59 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7709, allocations: 9.188 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7709, allocations: 3.938 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7709, allocations: 0.7812 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.771, allocations: 6.594 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.771, allocations: 0 / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.771, allocations: 7.375 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.771, allocations: 1.953 kB / 1.088 GB, free: 13.54 MB / 0.8419 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 9.89e-05/0.7711, allocations: 120.5 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.7712, allocations: 7.125 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.7714, allocations: 61.69 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7714, allocations: 0.6875 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7714, allocations: 0.5938 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7714, allocations: 0 / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.7716, allocations: 169.6 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7716, allocations: 0 / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.7716, allocations: 6.406 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7717, allocations: 5.531 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7717, allocations: 0.7031 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7717, allocations: 0.875 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.7717, allocations: 0 / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.7719, allocations: 160.5 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.7719, allocations: 83.12 kB / 1.088 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.772, allocations: 1.297 kB / 1.088 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.772, allocations: 6.547 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.7721, allocations: 2.203 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7721, allocations: 1.766 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.7722, allocations: 93.03 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7722, allocations: 1.219 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002352/0.7724, allocations: 13.25 kB / 1.088 GB, free: 12.83 MB / 0.8419 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.0001626/0.7726, allocations: 105.7 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.7727, allocations: 31.22 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7727, allocations: 0 / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.7728, allocations: 11.58 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.773, allocations: 13.62 kB / 1.089 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.7734, allocations: 157 kB / 1.089 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.7737, allocations: 0.6857 MB / 1.089 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.7737, allocations: 9.594 kB / 1.089 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7738, allocations: 0 / 1.089 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.002554/0.7763, allocations: 0.7287 MB / 1.09 GB, free: 11.8 MB / 0.8419 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=400 -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