Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.018/3.018, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.983e-05, allocations: 4.219 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002927/0.002957, allocations: 1.523 MB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.004402, allocations: 0.7077 MB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.004457, allocations: 0 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.004486, allocations: 8.609 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.004547, allocations: 12.66 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.004981, allocations: 96.19 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.005092, allocations: 43.84 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.005172, allocations: 8.875 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.005313, allocations: 27.91 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.005361, allocations: 17.22 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.005374, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.005621, allocations: 111.8 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.005635, allocations: 5.656 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.005661, allocations: 11.98 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.0059, allocations: 111.7 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005902, allocations: 0 / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005903, allocations: 3.938 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005907, allocations: 1.312 kB / 0.8134 GB, free: 15.43 MB / 0.7761 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.0005557/0.006463, allocations: 395.9 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.006499, allocations: 12.03 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.006655, allocations: 17.69 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.006839, allocations: 133.3 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.006849, allocations: 384 / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.00686, allocations: 4.375 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.007004, allocations: 55.45 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.007013, allocations: 192 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.007021, allocations: 384 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.007028, allocations: 4.562 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.007125, allocations: 23.92 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.007508, allocations: 276.9 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.007611, allocations: 43 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.007657, allocations: 16.56 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.007903, allocations: 41.7 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.00794, allocations: 33.39 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.007941, allocations: 1.812 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002631/0.008204, allocations: 57.69 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.008248, allocations: 51.41 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.00839, allocations: 173.9 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.00841, allocations: 31.23 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.008497, allocations: 138.8 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.008518, allocations: 15.83 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.008556, allocations: 19.38 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.008814, allocations: 0.4928 MB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.00885, allocations: 4.562 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.008879, allocations: 4.562 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.008961, allocations: 33.08 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.008963, allocations: 0 / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001376/0.0091, allocations: 54.16 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009114, allocations: 4 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009119, allocations: 0.625 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.009132, allocations: 5.969 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.009212, allocations: 7.938 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.009219, allocations: 0 / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.009256, allocations: 3.938 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.009268, allocations: 3.984 kB / 0.8155 GB, free: 13.12 MB / 0.7761 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 0.0001199/0.009388, allocations: 161.2 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.009421, allocations: 12.61 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.009592, allocations: 58.09 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.009597, allocations: 4 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009601, allocations: 4 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.009603, allocations: 0.9375 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.009778, allocations: 128.6 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009779, allocations: 1.344 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.009821, allocations: 7.938 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009824, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.00983, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.009834, allocations: 4.875 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009835, allocations: 3.938 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.01007, allocations: 198.2 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.01008, allocations: 11.89 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.0101, allocations: 3.984 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.01015, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.01019, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.01019, allocations: 4.5 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.749e-05/0.01028, allocations: 138.6 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 0 / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000228/0.01051, allocations: 11.94 kB / 0.8162 GB, free: 12.32 MB / 0.7761 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.0002019/0.01071, allocations: 115.3 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.01086, allocations: 35.61 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01086, allocations: 0 / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.01091, allocations: 12.22 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.0111, allocations: 8 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.01145, allocations: 147.1 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.053e-05/0.01152, allocations: 68.31 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.01154, allocations: 0.5 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.01157, allocations: 17.03 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01157, allocations: 0 / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.00322/0.01479, allocations: 0.553 MB / 0.8172 GB, free: 11.33 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.902744839084335]