Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001641/0.001641, 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.001895/0.001895, allocations: 189 kB / 22.23 MB, free: 5.164 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.519/1.519, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.062 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7708, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001936/0.7728, allocations: 0.591 MB / 1.219 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.7747, allocations: 1.275 MB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.7747, allocations: 3.938 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.7747, allocations: 0 / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.7747, allocations: 4 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.7751, allocations: 69.28 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.7751, allocations: 1.375 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.7752, allocations: 1.25 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.7752, allocations: 3.938 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.7752, allocations: 1.188 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.7752, allocations: 1.25 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.7755, allocations: 98.92 kB / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.7755, allocations: 0 / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.7755, allocations: 5 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.7757, allocations: 59.5 kB / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7757, allocations: 0 / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7757, allocations: 0 / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.7757, allocations: 1.188 kB / 1.221 GB, free: 2.062 MB / 0.92 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.0003682/0.776, allocations: 324.1 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.7761, allocations: 9.188 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.7761, allocations: 0.9375 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.7762, allocations: 169.5 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.7762, allocations: 384 / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.7762, allocations: 5.438 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.7763, allocations: 31.39 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7764, allocations: 1.125 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.7764, allocations: 0 / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.7764, allocations: 0 / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.7764, allocations: 2.188 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.7765, allocations: 154.7 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.7766, allocations: 20.73 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.7766, allocations: 9.891 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.7772, allocations: 0.559 MB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.7773, allocations: 39.62 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7773, allocations: 0 / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.7774, allocations: 42.66 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.7775, allocations: 56.66 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.7775, allocations: 89.86 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7775, allocations: 25.7 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.7776, allocations: 81.2 kB / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7776, allocations: 0 / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.7776, allocations: 11.75 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7778, allocations: 319.8 kB / 1.222 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.7778, allocations: 1.062 kB / 1.222 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.7778, allocations: 9.062 kB / 1.222 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.7779, allocations: 8.234 kB / 1.222 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7779, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.304e-05/0.7779, allocations: 35.05 kB / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.7779, allocations: 8.812 kB / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.7779, allocations: 1.5 kB / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7779, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.778, allocations: 1.531 kB / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.778, allocations: 5.391 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.778, allocations: 4 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.778, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9356 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 7.933e-05/0.7781, allocations: 122.9 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.7781, allocations: 5.312 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.206e-05/0.7782, allocations: 38.69 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7782, allocations: 3.984 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7782, allocations: 4.031 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7782, allocations: 5.25 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.7783, allocations: 141.7 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7783, allocations: 1.156 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.7783, allocations: 1.031 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7783, allocations: 5.062 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.7783, allocations: 3.938 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7783, allocations: 1.094 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7783, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.938e-05/0.7784, allocations: 63.09 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.7785, allocations: 78.17 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.7785, allocations: 5.219 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-06/0.7785, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.7785, allocations: 1.281 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7785, allocations: 3.984 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.7785, allocations: 75.28 kB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.7785, allocations: 1.188 kB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000198/0.7787, allocations: 8.688 kB / 1.223 GB, free: 15.16 MB / 0.9356 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.0001731/0.7789, allocations: 110.9 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.779, allocations: 4.062 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.779, allocations: 0 / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.779, allocations: 2.156 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.7791, allocations: 6.141 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.7793, allocations: 81.98 kB / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.7796, allocations: 0.6749 MB / 1.224 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.786e-05/0.7796, allocations: 1.219 kB / 1.224 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.7797, allocations: 11.38 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.7797, allocations: 0.9062 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.002722/0.7824, allocations: 308.6 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.529357940889895]