Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.001665/0.001665, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 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.0019/0.0019, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.965/2.965, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 176.1 MB / 1.322 GB, free: 25.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002339/1.019, allocations: 1.534 MB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/1.02, allocations: 0.7496 MB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/1.02, allocations: 2.812 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/1.02, allocations: 7.266 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/1.02, allocations: 7.938 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/1.02, allocations: 100.5 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.445e-05/1.021, allocations: 40.16 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/1.021, allocations: 9.484 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/1.021, allocations: 18.91 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/1.021, allocations: 27.75 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/1.021, allocations: 3 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/1.021, allocations: 117.2 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/1.021, allocations: 11.94 kB / 1.325 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/1.021, allocations: 20.59 kB / 1.325 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/1.021, allocations: 94.44 kB / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.021, allocations: 6.812 kB / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 7.42e-07/1.021, allocations: 0 / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.1e-06/1.021, allocations: 0 / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002928/1.021, allocations: 373.6 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.453e-05/1.021, allocations: 16.23 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.022, allocations: 16.72 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.022, allocations: 184.2 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-06/1.022, allocations: 384 / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/1.022, allocations: 3.188 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/1.022, allocations: 58.34 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/1.022, allocations: 0 / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/1.022, allocations: 0 / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-06/1.022, allocations: 0 / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/1.022, allocations: 28.48 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/1.022, allocations: 292.5 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/1.022, allocations: 29.98 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/1.022, allocations: 10.58 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/1.023, allocations: 0.5626 MB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.023, allocations: 41.09 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.023, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002243/1.023, allocations: 61.92 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/1.023, allocations: 51.41 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/1.023, allocations: 123.1 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/1.023, allocations: 25.7 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/1.023, allocations: 94.98 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/1.023, allocations: 7.953 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/1.023, allocations: 15.58 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/1.023, allocations: 321.3 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/1.023, allocations: 8.641 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/1.023, allocations: 13.48 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/1.023, allocations: 31.75 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.023, allocations: 0 / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/1.023, allocations: 56.2 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.023, allocations: 5.938 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/1.023, allocations: 0 / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.023, allocations: 0 / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/1.023, allocations: 9.016 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/1.023, allocations: 3.938 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/1.023, allocations: 2.812 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/1.023, allocations: 4.031 kB / 1.327 GB, free: 20.98 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.542e-05/1.023, allocations: 120.1 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/1.023, allocations: 6.734 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/1.024, allocations: 68.11 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.024, allocations: 0 / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/1.024, allocations: 0 / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.024, allocations: 0 / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/1.024, allocations: 172.1 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/1.024, allocations: 4.031 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/1.024, allocations: 5.875 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/1.024, allocations: 0 / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/1.024, allocations: 3.188 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.024, allocations: 4 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/1.024, allocations: 0 / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/1.024, allocations: 161.7 kB / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/1.024, allocations: 81.14 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/1.024, allocations: 2.625 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/1.024, allocations: 0 / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/1.024, allocations: 6.406 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/1.024, allocations: 0 / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.65e-05/1.024, allocations: 102.6 kB / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 0 / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002322/1.024, allocations: 18.53 kB / 1.328 GB, free: 20.25 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001327/1.024, allocations: 114.3 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.025, allocations: 20.72 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.025, allocations: 0 / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/1.025, allocations: 19.2 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/1.025, allocations: 2.594 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/1.025, allocations: 175.2 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/1.025, allocations: 0.6835 MB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/1.025, allocations: 13.38 kB / 1.329 GB, free: 19.28 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.025, allocations: 3.938 kB / 1.329 GB, free: 19.27 MB / 1.061 GB Notification: Performance of Templates: time 0.00232/1.028, allocations: 0.8237 MB / 1.33 GB, free: 19.2 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.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: 11.56378143899201]