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.007237/0.007237, allocations: 99.14 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.001627/0.001627, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.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.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3342, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002581/0.3369, allocations: 1.482 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.338, allocations: 0.6547 MB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.3381, allocations: 0 / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.3381, allocations: 3.938 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.3382, allocations: 3.938 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.3386, allocations: 87.73 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.3387, allocations: 35.89 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3388, allocations: 19.92 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.3389, allocations: 15.98 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.339, allocations: 19.86 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.339, allocations: 4 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.3392, allocations: 103.8 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3392, allocations: 8 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.3393, allocations: 19.86 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.3394, allocations: 87.83 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3395, allocations: 0 / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3395, allocations: 0 / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3395, allocations: 0 / 1.21 GB, free: 7.055 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.0005345/0.34, allocations: 363.2 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3401, allocations: 8.625 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3401, allocations: 8.922 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3403, allocations: 176.2 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3403, allocations: 4.375 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3403, allocations: 4.375 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3405, allocations: 57.94 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3405, allocations: 3.984 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3405, allocations: 0 / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3405, allocations: 0 / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.3406, allocations: 23.98 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3411, allocations: 284.8 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.3412, allocations: 34.5 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.3413, allocations: 16.92 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005474/0.3418, allocations: 0.5544 MB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3418, allocations: 38.56 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3418, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002342/0.3421, allocations: 61.67 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3421, allocations: 55.34 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.3422, allocations: 117.8 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3422, allocations: 29.7 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3423, allocations: 100.2 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.3423, allocations: 11.92 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.3424, allocations: 13.72 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3425, allocations: 318.8 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.3425, allocations: 11.98 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.3426, allocations: 8 kB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.3427, allocations: 24.84 kB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3427, allocations: 4.062 kB / 1.212 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/0.3428, allocations: 65.52 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3428, allocations: 4 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3428, allocations: 0 / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3428, allocations: 3.938 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.3429, allocations: 4 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.3429, allocations: 4 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.343, allocations: 0 / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.343, allocations: 3.984 kB / 1.213 GB, free: 4.32 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 7.601e-05/0.3431, allocations: 121.8 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3431, allocations: 7.906 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.3433, allocations: 61.2 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3433, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3433, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3433, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.3434, allocations: 165.6 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3435, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.3435, allocations: 11.97 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3435, allocations: 3.984 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3435, allocations: 0 / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3435, allocations: 4 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3435, allocations: 0 / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3437, allocations: 147.5 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.3438, allocations: 85.02 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3438, allocations: 8.016 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.3439, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.3439, allocations: 4 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3439, allocations: 4 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.344, allocations: 99.27 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.344, allocations: 0 / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002308/0.3442, allocations: 15.94 kB / 1.213 GB, free: 3.492 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.0001983/0.3444, allocations: 107.2 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3446, allocations: 27.98 kB / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3446, allocations: 0 / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.3447, allocations: 12 kB / 1.213 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.3449, allocations: 9.328 kB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.3452, allocations: 146.5 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3456, allocations: 0.6847 MB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.3456, allocations: 15.91 kB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.3457, allocations: 7.438 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3457, allocations: 0 / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of Templates: time 0.002517/0.3482, allocations: 0.4915 MB / 1.215 GB, free: 1.938 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