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.0008136/0.0008136, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001902, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007587/0.0007587, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.001691, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9762/0.9762, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09304/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.936/1.936, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5691/2.505, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 177] 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 1.964e-06/1.964e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.384e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009352/0.0009491, allocations: 0.6572 MB / 0.73 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.002074, allocations: 1.329 MB / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-06/0.002084, allocations: 0 / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-06/0.002087, allocations: 3.938 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-07/0.002088, allocations: 0 / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.002259, allocations: 61.72 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.663e-05/0.002296, allocations: 4 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.002327, allocations: 2.062 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.002357, allocations: 4.875 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.002397, allocations: 3.984 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.002405, allocations: 0.5312 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.00263, allocations: 117.7 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.002639, allocations: 0.5469 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.051e-05/0.002649, allocations: 4 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.002759, allocations: 70.44 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.00277, allocations: 0 / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002771, allocations: 1.438 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.002782, allocations: 0 / 0.7316 GB, free: 2.238 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.0002336/0.003015, allocations: 229.9 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.003043, allocations: 12.03 kB / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.003063, allocations: 1.594 kB / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.858e-05/0.003121, allocations: 109.7 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.003129, allocations: 1.062 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-06/0.003135, allocations: 4.375 kB / 0.7319 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.348e-05/0.003198, allocations: 31.97 kB / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.003204, allocations: 192 / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.003209, allocations: 384 / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003213, allocations: 3.938 kB / 0.732 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.308e-05/0.003227, allocations: 5.672 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.895e-05/0.003285, allocations: 57.05 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.933e-05/0.003315, allocations: 24.33 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.024e-05/0.003325, allocations: 4.859 kB / 0.732 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.003526, allocations: 48.75 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.003543, allocations: 31.53 kB / 0.7321 GB, free: 1.605 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.003543, allocations: 0 / 0.7321 GB, free: 1.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.45e-05/0.003618, allocations: 31.34 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.003646, allocations: 55.41 kB / 0.7322 GB, free: 1.504 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.431e-05/0.00367, allocations: 90.52 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.003679, allocations: 25.7 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.003699, allocations: 84.73 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.003724, allocations: 3.984 kB / 0.7324 GB, free: 1.285 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.003743, allocations: 15.47 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.003809, allocations: 315.4 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.003814, allocations: 0 / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-06/0.003818, allocations: 0 / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.944e-05/0.003837, allocations: 9.547 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.003839, allocations: 0.9062 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.909e-05/0.003868, allocations: 33.69 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.003878, allocations: 9.297 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.003882, allocations: 0 / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.003889, allocations: 1.125 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.003925, allocations: 3.938 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.003927, allocations: 0 / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-06/0.003935, allocations: 4.719 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.00394, allocations: 7.938 kB / 0.7328 GB, free: 0.875 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 4.2e-05/0.003982, allocations: 107.5 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-06/0.003985, allocations: 1.156 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.004046, allocations: 37.72 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.004048, allocations: 0 / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.004049, allocations: 0 / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.004051, allocations: 0.5625 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.354e-05/0.004095, allocations: 79.61 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004095, allocations: 0 / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.004102, allocations: 0 / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-06/0.004106, allocations: 8.969 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004107, allocations: 0 / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-06/0.004109, allocations: 1.219 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00411, allocations: 0 / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.004111, allocations: 3.938 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.85e-05/0.00415, allocations: 57.83 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.004157, allocations: 4 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-06/0.00416, allocations: 0.5 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-06/0.00417, allocations: 4.734 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.004171, allocations: 0.7656 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.089e-06/0.004176, allocations: 6.141 kB / 0.7331 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004176, allocations: 4 kB / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of remove unused functions: time 9.92e-05/0.004275, allocations: 7.938 kB / 0.7331 GB, free: 0.5078 MB / 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.0001029/0.004378, allocations: 93.97 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.595e-05/0.004424, allocations: 13.61 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.004426, allocations: 0 / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.004431, allocations: 5.766 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.423e-05/0.004475, allocations: 8.5 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001285/0.004604, allocations: 82.42 kB / 0.7333 GB, free: 272 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.221e-05/0.004626, allocations: 53.48 kB / 0.7333 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.234e-05/0.004638, allocations: 0.9375 kB / 0.7333 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.004666, allocations: 56.7 kB / 0.7334 GB, free: 144 kB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.004667, allocations: 0 / 0.7334 GB, free: 144 kB / 0.698 GB Notification: Performance of Templates: time 0.001718/0.006384, allocations: 476.5 kB / 0.7339 GB, free: 15.7 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.802001276984811]