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.001943/0.001943, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002644/0.002644, allocations: 199 kB / 22.17 MB, free: 5.203 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.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00207/0.00207, allocations: 67.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8054, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001729/0.8072, allocations: 0.5855 MB / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.8089, allocations: 1.264 MB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.8089, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.8089, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.8089, allocations: 7.938 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.8093, allocations: 63.73 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.8093, allocations: 11.94 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.8093, allocations: 0 / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.8094, allocations: 4 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.8094, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.732e-06/0.8094, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.8096, allocations: 95.89 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.8096, allocations: 4 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.8097, allocations: 0 / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.8098, allocations: 54.59 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8098, allocations: 0 / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8098, allocations: 0 / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8098, allocations: 0 / 1.276 GB, free: 2.43 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.0003764/0.8102, allocations: 335.3 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8102, allocations: 8.031 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.8103, allocations: 0.9375 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8104, allocations: 160.4 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.8104, allocations: 8.312 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.8104, allocations: 8.359 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.119e-05/0.8105, allocations: 33.95 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8105, allocations: 0 / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.8105, allocations: 0 / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.8105, allocations: 0 / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.8105, allocations: 4 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.8107, allocations: 149.7 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.263e-05/0.8107, allocations: 22.61 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.8107, allocations: 4.859 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/0.8114, allocations: 0.5661 MB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.8114, allocations: 34.5 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8114, allocations: 0 / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.8115, allocations: 37.7 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.8116, allocations: 51.41 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.8116, allocations: 89.86 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.8116, allocations: 25.7 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.8117, allocations: 80.14 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.8117, allocations: 0 / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.8117, allocations: 21.7 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8119, allocations: 315 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.8119, allocations: 0 / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.8119, allocations: 7.938 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.8119, allocations: 4.859 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8119, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.344e-05/0.812, allocations: 37.7 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.812, allocations: 11.88 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.812, allocations: 3.984 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.812, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.8121, allocations: 8.094 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.8121, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.016e-05/0.8121, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.8121, allocations: 4 kB / 1.278 GB, free: 76 kB / 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.696e-05/0.8122, allocations: 106.4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.8122, allocations: 7.938 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.8123, allocations: 44.75 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.8123, allocations: 3.938 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.8123, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8123, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.8124, allocations: 153.6 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8124, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.8124, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8124, allocations: 3.938 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.8124, allocations: 3.984 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8124, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8124, allocations: 4 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.127e-05/0.8125, allocations: 61.11 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.8126, allocations: 77.11 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.8126, allocations: 3.938 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.137e-05/0.8126, allocations: 7.984 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.8126, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.8126, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.8126, allocations: 76.86 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8126, allocations: 4.031 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001886/0.8128, allocations: 4 kB / 1.279 GB, free: 15.43 MB / 0.9825 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.0001597/0.813, allocations: 107.2 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.8131, allocations: 7.984 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8131, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-05/0.8131, allocations: 7.938 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.8132, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.8134, allocations: 107.7 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.8137, allocations: 0.6729 MB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.8137, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.8137, allocations: 7.438 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8137, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.002444/0.8162, allocations: 304.6 kB / 1.28 GB, free: 14.16 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.802008830010891]