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.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.001477/0.001477, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001464/0.001464, allocations: 194.3 kB / 22.11 MB, free: 5.152 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.468/1.468, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 495.8 MB / 0.783 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.16 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3962, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002977/0.3992, allocations: 1.515 MB / 1.308 GB, free: 356 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.4005, allocations: 0.6661 MB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.4005, allocations: 0 / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.4006, allocations: 3.938 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.4006, allocations: 11.88 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.401, allocations: 75.73 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.4011, allocations: 35.91 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4013, allocations: 11.94 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.4013, allocations: 23.91 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.4014, allocations: 19.92 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4014, allocations: 0 / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.4016, allocations: 103.9 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.4017, allocations: 7.938 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.4017, allocations: 19.81 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.4019, allocations: 83.77 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4019, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4019, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4019, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 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.0005152/0.4024, allocations: 294 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4025, allocations: 8.031 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.4025, allocations: 8.891 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.4026, allocations: 110.4 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.4026, allocations: 8.312 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.4027, allocations: 384 / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4028, allocations: 65.97 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4029, allocations: 3.938 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4029, allocations: 0 / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4029, allocations: 4 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.403, allocations: 27.98 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4034, allocations: 247.8 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4035, allocations: 38.5 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.4035, allocations: 8.922 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.4038, allocations: 47.95 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.4038, allocations: 30.56 kB / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4038, allocations: 0 / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002897/0.4041, allocations: 61.69 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4042, allocations: 59.52 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.4043, allocations: 117.8 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4043, allocations: 25.7 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.4044, allocations: 96.08 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.4044, allocations: 11.88 kB / 1.31 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.4044, allocations: 9.719 kB / 1.31 GB, free: 13.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4046, allocations: 322.8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.4046, allocations: 7.984 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.4047, allocations: 16 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.4047, allocations: 24.84 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4047, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001283/0.4049, allocations: 57.62 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4049, allocations: 9.25 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4049, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4049, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.405, allocations: 12.03 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.405, allocations: 0 / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.405, allocations: 8 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.405, allocations: 3.984 kB / 1.311 GB, free: 13.39 MB / 1.014 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 8.689e-05/0.4051, allocations: 117.7 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.4052, allocations: 7.953 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.4053, allocations: 57.3 kB / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4053, allocations: 4.031 kB / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4053, allocations: 0 / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4054, allocations: 4 kB / 1.311 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.4055, allocations: 140.7 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4055, allocations: 3.938 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.4056, allocations: 4 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4056, allocations: 7.922 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4056, allocations: 3.984 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4056, allocations: 3.938 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4056, allocations: 0 / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.4058, allocations: 159.4 kB / 1.311 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.4058, allocations: 0 / 1.311 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.4058, allocations: 4 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.4059, allocations: 3.984 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.4059, allocations: 0 / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.4059, allocations: 0 / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.132e-05/0.406, allocations: 103.6 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.406, allocations: 4.031 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002371/0.4062, allocations: 15.94 kB / 1.312 GB, free: 12.68 MB / 1.014 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.0001629/0.4064, allocations: 104 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.4065, allocations: 27.92 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4065, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.4066, allocations: 12 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4068, allocations: 208 / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.4072, allocations: 142.8 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4075, allocations: 0.6807 MB / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.4075, allocations: 4 kB / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.4075, allocations: 7.438 kB / 1.312 GB, free: 11.65 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.4075, allocations: 0 / 1.312 GB, free: 11.65 MB / 1.014 GB Notification: Performance of Templates: time 0.003454/0.411, allocations: 0.5017 MB / 1.313 GB, free: 11.15 MB / 1.014 GB " [Timeout remaining time 300] 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/jenkins/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: 9.003093163482845]