Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.00145/0.00145, 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.001638/0.001638, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7646 GB, free: 9.836 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 63.89 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.75, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001716/0.7517, allocations: 0.586 MB / 1.275 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.7534, allocations: 1.264 MB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.7534, allocations: 4 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.7535, allocations: 0 / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.7535, allocations: 0 / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.7538, allocations: 71.38 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.7539, allocations: 4 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.7539, allocations: 0 / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.7539, allocations: 7.984 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.754, allocations: 0 / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.754, allocations: 3.938 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.7542, allocations: 103.9 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.7542, allocations: 3.938 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.7542, allocations: 0 / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.7544, allocations: 55.59 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7544, allocations: 0 / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7544, allocations: 0 / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7544, allocations: 0 / 1.276 GB, free: 2.102 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003199/0.7547, allocations: 253 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7547, allocations: 8.031 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.7548, allocations: 4.938 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.7549, allocations: 106.5 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.7549, allocations: 384 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.7549, allocations: 384 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.755, allocations: 41.95 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.755, allocations: 0 / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.755, allocations: 0 / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.755, allocations: 0 / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.755, allocations: 3.984 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.7552, allocations: 116.8 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.7552, allocations: 18.58 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.7552, allocations: 12.8 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.7556, allocations: 40.06 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.7556, allocations: 38.5 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7556, allocations: 0 / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.7557, allocations: 33.69 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.7558, allocations: 55.53 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.7558, allocations: 93.8 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7558, allocations: 29.7 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.7559, allocations: 80.14 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.7559, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.7559, allocations: 13.72 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7561, allocations: 310.8 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.7561, allocations: 4 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.7561, allocations: 3.938 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.7561, allocations: 16.91 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7561, allocations: 0 / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.698e-05/0.7562, allocations: 33.7 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7562, allocations: 11.94 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7562, allocations: 3.984 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7562, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.7562, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.7562, allocations: 3.938 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.7563, allocations: 4.031 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.7563, allocations: 4 kB / 1.278 GB, free: 0.6016 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 (1): * Single equations (assignments): 1 * 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.585e-05/0.7564, allocations: 117.7 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.7564, allocations: 3.938 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.7564, allocations: 32.7 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7565, allocations: 4 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7565, allocations: 0 / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.7565, allocations: 4.031 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.7566, allocations: 120.8 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7566, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.7566, allocations: 4 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7566, allocations: 3.938 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.7566, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7566, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7566, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.684e-05/0.7567, allocations: 69.06 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.7567, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.7567, allocations: 3.938 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.7567, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.7567, allocations: 4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.7567, allocations: 3.938 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.7568, allocations: 76.89 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.7568, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002155/0.757, allocations: 4 kB / 1.278 GB, free: 84 kB / 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 (1): * Single equations (assignments): 1 * 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.000195/0.7572, allocations: 107.3 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.315e-05/0.7572, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7572, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.7573, allocations: 7.938 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.7574, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.7576, allocations: 92.84 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.758, allocations: 0.669 MB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.758, allocations: 4.125 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.758, allocations: 7.438 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.758, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.002948/0.761, allocations: 316.6 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.578945964574814]