Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.0007554/0.0007554, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001907, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007262/0.0007262, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001727, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9332/0.9332, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08862/1.022, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.872/1.872, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5141/2.387, allocations: 123.3 MB / 0.7283 GB, free: 5.758 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.245e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001262/0.001284, allocations: 0.6613 MB / 0.7304 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.003051, allocations: 1.332 MB / 0.7317 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.003066, allocations: 0 / 0.7317 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.23e-06/0.003072, allocations: 0 / 0.7317 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.12e-07/0.003072, allocations: 0 / 0.7317 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.003314, allocations: 62.84 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.003374, allocations: 0 / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.003423, allocations: 6.078 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.00347, allocations: 7.984 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.003539, allocations: 0.5312 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.003554, allocations: 0.875 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.003848, allocations: 116.8 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.003867, allocations: 0.9844 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.003882, allocations: 0.5938 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004046, allocations: 69.52 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.00406, allocations: 0.9844 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.11e-07/0.00406, allocations: 0 / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.004074, allocations: 1.281 kB / 0.7319 GB, free: 2.16 MB / 0.698 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.0003558/0.00443, allocations: 240.6 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.004478, allocations: 8.031 kB / 0.7322 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.00452, allocations: 2.406 kB / 0.7322 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.107e-05/0.004601, allocations: 105.8 kB / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004612, allocations: 0.9688 kB / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.004625, allocations: 384 / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.896e-05/0.004714, allocations: 27.98 kB / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004722, allocations: 4.188 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.00473, allocations: 1.031 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004737, allocations: 3.938 kB / 0.7323 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.004751, allocations: 4.75 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.004916, allocations: 61.03 kB / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.004961, allocations: 16.05 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.004975, allocations: 4.859 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.005279, allocations: 45.8 kB / 0.7324 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.005306, allocations: 35.41 kB / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.005307, allocations: 0 / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.00544, allocations: 35.39 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.005473, allocations: 55.39 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.34e-05/0.005507, allocations: 89.86 kB / 0.7326 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.00552, allocations: 25.7 kB / 0.7326 GB, free: 1.297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.005542, allocations: 80.64 kB / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.005583, allocations: 9.859 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.005604, allocations: 9.719 kB / 0.7327 GB, free: 1.191 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005705, allocations: 314.8 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.005714, allocations: 4.562 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.005721, allocations: 1.125 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.005752, allocations: 12.86 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005755, allocations: 0.7188 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.076e-05/0.005796, allocations: 38.5 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.005812, allocations: 5.031 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.005818, allocations: 0 / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.00583, allocations: 0.5312 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.005883, allocations: 4 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005887, allocations: 1.656 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.005896, allocations: 0 / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.005905, allocations: 3.938 kB / 0.7331 GB, free: 0.8008 MB / 0.698 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 6.03e-05/0.005966, allocations: 110.7 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-06/0.00597, allocations: 5.219 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.843e-05/0.006058, allocations: 42.03 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.006061, allocations: 0 / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.006063, allocations: 3.938 kB / 0.7333 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.006068, allocations: 0.7188 kB / 0.7333 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.909e-05/0.006127, allocations: 61.84 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.006127, allocations: 0.6562 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.006138, allocations: 8.75 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.006145, allocations: 4.672 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006146, allocations: 0 / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.00615, allocations: 0.75 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006152, allocations: 4 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006153, allocations: 0.8125 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.631e-05/0.006209, allocations: 62.42 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.006218, allocations: 0.5469 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-06/0.006221, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.006236, allocations: 4 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.006238, allocations: 0.5 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.018e-05/0.006248, allocations: 6.078 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006248, allocations: 0.875 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001182/0.006366, allocations: 15.88 kB / 0.7334 GB, free: 440 kB / 0.698 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.0001476/0.006514, allocations: 89.56 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.977e-05/0.006584, allocations: 14.77 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.006588, allocations: 0 / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.0066, allocations: 13.83 kB / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.816e-05/0.006669, allocations: 8.781 kB / 0.7336 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.006865, allocations: 74.44 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.006903, allocations: 58.09 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.006924, allocations: 0 / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.006961, allocations: 47.38 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/0.006962, allocations: 0 / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of Templates: time 0.002547/0.009509, allocations: 477.8 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.827909352257848]