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.001835/0.001835, allocations: 109.9 kB / 16.46 MB, free: 6.453 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.002146/0.002146, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 8.977 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 3.245/3.245, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 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.002037/0.002037, allocations: 66.06 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003052/0.357, allocations: 1.529 MB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3584, allocations: 0.7517 MB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.3585, allocations: 0 / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.3585, allocations: 7.938 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.3586, allocations: 3.938 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.359, allocations: 95.59 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.3591, allocations: 39.86 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3592, allocations: 19.91 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3593, allocations: 15.94 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.3594, allocations: 15.92 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3594, allocations: 4 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.3597, allocations: 127.9 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3597, allocations: 7.938 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.3597, allocations: 19.86 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3599, allocations: 91.75 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.3599, allocations: 4 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3599, allocations: 0 / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.36, allocations: 3.938 kB / 1.324 GB, free: 112 kB / 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.0005453/0.3605, allocations: 375 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3605, allocations: 11.98 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3607, allocations: 20.88 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.361, allocations: 176.3 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.361, allocations: 8.312 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.361, allocations: 384 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3612, allocations: 61.97 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3612, allocations: 0 / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3612, allocations: 4 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3612, allocations: 0 / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3613, allocations: 31.92 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.3617, allocations: 284.7 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3618, allocations: 34.62 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.3618, allocations: 8.859 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.3624, allocations: 0.57 MB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3625, allocations: 30.56 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3625, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002753/0.3627, allocations: 61.67 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3628, allocations: 55.41 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3629, allocations: 121.6 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3629, allocations: 25.83 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.363, allocations: 96.12 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.363, allocations: 7.891 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.363, allocations: 17.72 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3632, allocations: 318.8 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.3633, allocations: 12 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.3633, allocations: 11.92 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.3634, allocations: 32.91 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3634, allocations: 0 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001398/0.3635, allocations: 57.64 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3635, allocations: 4 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3636, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3636, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.3636, allocations: 7.984 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3636, allocations: 3.938 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.3637, allocations: 4.031 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3637, allocations: 8 kB / 1.326 GB, free: 13.34 MB / 1.029 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 9.851e-05/0.3638, allocations: 117.7 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3638, allocations: 3.953 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.364, allocations: 65.2 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.364, allocations: 0 / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.364, allocations: 0 / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.364, allocations: 0 / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.3642, allocations: 173.6 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3642, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.3643, allocations: 7.984 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3643, allocations: 3.938 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3643, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3643, allocations: 7.984 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3643, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3645, allocations: 163.4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.3645, allocations: 81.11 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3645, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.3646, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.3646, allocations: 4 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3646, allocations: 3.984 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.3647, allocations: 99.27 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3647, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002528/0.365, allocations: 19.88 kB / 1.327 GB, free: 12.49 MB / 1.029 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.0001774/0.3651, allocations: 115.3 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.3653, allocations: 23.92 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3653, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.3654, allocations: 12 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3656, allocations: 5.875 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.3659, allocations: 150.5 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3663, allocations: 0.6846 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.3663, allocations: 4 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.3663, allocations: 11.38 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3663, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Templates: time 0.003265/0.3696, allocations: 0.5825 MB / 1.329 GB, free: 10.85 MB / 1.029 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: 8.83019509818405]