Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000836/0.000836, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008092/0.0008092, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8709/0.8709, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.761e-05, allocations: 9.234 kB / 0.9517 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001845/0.001873, allocations: 1.506 MB / 0.9532 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.002782, allocations: 0.6938 MB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.002838, allocations: 0 / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.002866, allocations: 3.938 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.002912, allocations: 15.88 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.003264, allocations: 103.5 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.003357, allocations: 31.86 kB / 0.954 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.003457, allocations: 15.98 kB / 0.954 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.003562, allocations: 27.91 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.003602, allocations: 7.984 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.003615, allocations: 4 kB / 0.9541 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.003763, allocations: 107.8 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.003777, allocations: 15.97 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.003798, allocations: 15.94 kB / 0.9542 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.003965, allocations: 107.7 kB / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.003968, allocations: 0 / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003969, allocations: 0 / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003973, allocations: 0 / 0.9543 GB, free: 292 kB / 0.9011 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.0003511/0.004324, allocations: 298 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.00436, allocations: 12.02 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.004473, allocations: 20.83 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.004647, allocations: 125.6 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.004655, allocations: 384 / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.004665, allocations: 12.38 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004783, allocations: 50.23 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.004789, allocations: 192 / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004799, allocations: 4.375 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004804, allocations: 7.938 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.004857, allocations: 19.98 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.005109, allocations: 220.4 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.005169, allocations: 30.52 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.005198, allocations: 20.91 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.005362, allocations: 39.97 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.005383, allocations: 30.56 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005384, allocations: 4 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0004365/0.00582, allocations: 65.56 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.005847, allocations: 55.41 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.005907, allocations: 114 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.005915, allocations: 25.7 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.005951, allocations: 96.08 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.005967, allocations: 7.891 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.00599, allocations: 13.72 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.006057, allocations: 314.8 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.006082, allocations: 11.98 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.0061, allocations: 8 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.006148, allocations: 32.84 kB / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00615, allocations: 0 / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.029e-05/0.00622, allocations: 61.61 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.006232, allocations: 4.375 kB / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006237, allocations: 0 / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006248, allocations: 0 / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.006297, allocations: 7.938 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.006302, allocations: 3.938 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.006319, allocations: 11.97 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006325, allocations: 0 / 0.956 GB, free: 14.42 MB / 0.9167 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 5.201e-05/0.006377, allocations: 117.9 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.006391, allocations: 7.891 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.006501, allocations: 65.23 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006503, allocations: 4 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006507, allocations: 0 / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.00651, allocations: 0 / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.229e-05/0.006602, allocations: 109.3 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006603, allocations: 0 / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.006626, allocations: 11.92 kB / 0.9563 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006628, allocations: 4.031 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.006634, allocations: 0 / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006636, allocations: 0 / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006637, allocations: 4 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.196e-05/0.006729, allocations: 151.5 kB / 0.9564 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.006738, allocations: 15.88 kB / 0.9564 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.006748, allocations: 0 / 0.9564 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.006777, allocations: 0 / 0.9564 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.006803, allocations: 4 kB / 0.9564 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.006806, allocations: 4.031 kB / 0.9564 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.006836, allocations: 91.27 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006836, allocations: 0 / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001621/0.006998, allocations: 15.94 kB / 0.9565 GB, free: 13.76 MB / 0.9167 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.0001329/0.007131, allocations: 106 kB / 0.9567 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.438e-05/0.007215, allocations: 23.98 kB / 0.9567 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007217, allocations: 0 / 0.9567 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.00724, allocations: 19.92 kB / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.007392, allocations: 6.469 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.007652, allocations: 162.4 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.007692, allocations: 67.28 kB / 0.9569 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.007713, allocations: 16.77 kB / 0.9569 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.007713, allocations: 0 / 0.9569 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of Templates: time 0.001613/0.009326, allocations: 0.8085 MB / 0.9577 GB, free: 12.5 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.255355515517294]