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.001416/0.001416, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00148/0.00148, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.507/1.507, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.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.985/2.985, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] 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.002011/0.002011, allocations: 75.88 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9048, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001648/0.9065, allocations: 0.5934 MB / 1.273 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.9079, allocations: 1.268 MB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.9079, allocations: 0 / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.9079, allocations: 0 / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.9079, allocations: 0.9062 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.9083, allocations: 64.19 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.9083, allocations: 1.562 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.9084, allocations: 5.719 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.9084, allocations: 5.828 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.9084, allocations: 0.875 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.9084, allocations: 0.9688 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.9086, allocations: 105.5 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.9086, allocations: 1 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.9087, allocations: 3.938 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.9088, allocations: 50.31 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9088, allocations: 1.031 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9088, allocations: 0 / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9088, allocations: 0.7969 kB / 1.274 GB, free: 6.551 MB / 0.9981 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.000248/0.909, allocations: 329.3 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.9091, allocations: 9.344 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.9091, allocations: 0.9375 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.9092, allocations: 167.2 kB / 1.275 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.9092, allocations: 384 / 1.275 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.9092, allocations: 1.375 kB / 1.275 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.9093, allocations: 32.02 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.9093, allocations: 3.938 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.9093, allocations: 1 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9093, allocations: 6.578 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.9093, allocations: 5.625 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.641e-05/0.9094, allocations: 142.8 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.971e-05/0.9095, allocations: 20.73 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.9095, allocations: 8.547 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/0.9099, allocations: 0.5602 MB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.9099, allocations: 37.53 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9099, allocations: 0 / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001103/0.91, allocations: 39.45 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.454e-05/0.91, allocations: 51.41 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.439e-05/0.91, allocations: 91.92 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.91, allocations: 30.77 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-06/0.9101, allocations: 84.27 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.9101, allocations: 0.8125 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.9101, allocations: 11.47 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.9101, allocations: 315.6 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.9101, allocations: 0.8438 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.9102, allocations: 4.688 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.9102, allocations: 7.141 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9102, allocations: 0.6562 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.248e-05/0.9102, allocations: 38.89 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.9102, allocations: 9.938 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.9102, allocations: 0 / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9102, allocations: 0 / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.9103, allocations: 3.75 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.9103, allocations: 0.9688 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.9103, allocations: 0 / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9103, allocations: 1.125 kB / 1.276 GB, free: 4.32 MB / 0.9981 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.059e-05/0.9103, allocations: 119.4 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.9104, allocations: 5.422 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.56e-05/0.9104, allocations: 45 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.9104, allocations: 1.031 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.9104, allocations: 0 / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.9104, allocations: 0 / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.315e-05/0.9105, allocations: 145.7 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.9105, allocations: 0 / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.9105, allocations: 1.562 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9105, allocations: 8.938 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.9105, allocations: 1.812 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9105, allocations: 0 / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9105, allocations: 3.938 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.777e-05/0.9106, allocations: 58.28 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.9106, allocations: 83.03 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.9106, allocations: 3.938 kB / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.9106, allocations: 4.906 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.9106, allocations: 0.75 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.9106, allocations: 1.062 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.417e-06/0.9106, allocations: 83.16 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9106, allocations: 1 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001978/0.9108, allocations: 10.14 kB / 1.277 GB, free: 3.691 MB / 0.9981 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.0001202/0.9109, allocations: 108.8 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.792e-05/0.911, allocations: 7.938 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.911, allocations: 1.219 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/0.911, allocations: 1.594 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.9111, allocations: 3.016 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.9113, allocations: 102.3 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.9114, allocations: 0.6708 MB / 1.277 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.9114, allocations: 8.062 kB / 1.277 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.9114, allocations: 11.44 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9114, allocations: 1.094 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.002489/0.9139, allocations: 297.5 kB / 1.278 GB, free: 2.715 MB / 0.9981 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: 9.03374510537833]