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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 187.8 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.194/3.194, allocations: 495.7 MB / 0.7831 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.11 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003049/0.3758, allocations: 1.52 MB / 1.308 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.377, allocations: 0.6661 MB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.3771, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.3771, allocations: 3.938 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.3772, allocations: 11.88 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3775, allocations: 79.72 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.3776, allocations: 31.92 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.3777, allocations: 19.92 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.3778, allocations: 15.94 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.3778, allocations: 19.92 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3778, allocations: 7.984 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.378, allocations: 91.91 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3781, allocations: 11.92 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.3781, allocations: 27.8 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3783, allocations: 79.78 kB / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3783, allocations: 3.984 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3783, allocations: 4 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3783, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 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.0004537/0.3787, allocations: 286.1 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3788, allocations: 12.03 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3788, allocations: 4.891 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3789, allocations: 114.4 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3789, allocations: 384 / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.379, allocations: 8.375 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3791, allocations: 57.97 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3791, allocations: 3.938 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3791, allocations: 4 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3791, allocations: 11.94 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.3792, allocations: 19.98 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.3796, allocations: 251.9 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3797, allocations: 30.52 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.3798, allocations: 20.91 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.38, allocations: 35.97 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3801, allocations: 38.56 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3801, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002449/0.3803, allocations: 57.67 kB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3804, allocations: 51.41 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3805, allocations: 130 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3805, allocations: 25.7 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.3805, allocations: 92.08 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.3806, allocations: 11.83 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.3806, allocations: 13.72 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3807, allocations: 322.8 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.3808, allocations: 8 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.3808, allocations: 15.98 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.3809, allocations: 24.84 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3809, allocations: 4 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000134/0.381, allocations: 53.64 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3811, allocations: 4 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3811, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3811, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.3811, allocations: 15.92 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3812, allocations: 4.094 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.3812, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3812, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 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.692e-05/0.3813, allocations: 125 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3813, allocations: 7.953 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3815, allocations: 65.28 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3815, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3815, allocations: 4.031 kB / 1.311 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3815, allocations: 7.922 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3817, allocations: 136.7 kB / 1.311 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3817, allocations: 0 / 1.311 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.3817, allocations: 4 kB / 1.311 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3817, allocations: 4 kB / 1.311 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3817, allocations: 4 kB / 1.311 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3817, allocations: 7.938 kB / 1.311 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3817, allocations: 0 / 1.311 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3819, allocations: 159.4 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.3819, allocations: 0 / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.382, allocations: 0 / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.382, allocations: 8 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.3821, allocations: 3.984 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3821, allocations: 0 / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.605e-05/0.3821, allocations: 99.64 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3821, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002339/0.3824, allocations: 15.97 kB / 1.312 GB, free: 12.74 MB / 1.014 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.0001581/0.3825, allocations: 104 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3827, allocations: 23.92 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3827, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.3827, allocations: 15.98 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.383, allocations: 7.938 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.3833, allocations: 134.9 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3836, allocations: 0.6846 MB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.3836, allocations: 4 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.3836, allocations: 7.438 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3836, allocations: 0 / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of Templates: time 0.002997/0.3866, allocations: 0.4989 MB / 1.313 GB, free: 11.21 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.811614651232958]