Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001287/0.001287, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001422/0.001422, allocations: 216.2 kB / 23.01 MB, free: 5.113 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.358/3.358, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002024/0.002024, allocations: 70.36 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002745/0.3417, allocations: 1.536 MB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.343, allocations: 0.7478 MB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.3431, allocations: 7.938 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.3431, allocations: 7.922 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.3432, allocations: 7.922 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.3436, allocations: 99.67 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3437, allocations: 35.84 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.3438, allocations: 15.92 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.3439, allocations: 27.86 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.3439, allocations: 19.92 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3439, allocations: 4 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.3442, allocations: 115.8 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.3442, allocations: 11.92 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.3442, allocations: 15.88 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.3444, allocations: 99.75 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3444, allocations: 0 / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3444, allocations: 0 / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3444, allocations: 0 / 1.357 GB, free: 5.176 MB / 1.045 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.0004532/0.3449, allocations: 297.9 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3449, allocations: 8.031 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.3451, allocations: 20.88 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3453, allocations: 122.4 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.3453, allocations: 4.375 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3453, allocations: 4.375 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3455, allocations: 58.5 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3455, allocations: 0 / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3455, allocations: 0 / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3455, allocations: 0 / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.62e-05/0.3456, allocations: 35.95 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.3459, allocations: 247.9 kB / 1.358 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.175e-05/0.346, allocations: 30.52 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.3461, allocations: 20.91 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.3463, allocations: 39.97 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3464, allocations: 30.56 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3464, allocations: 4 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000244/0.3466, allocations: 65.61 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3466, allocations: 51.41 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3468, allocations: 126.1 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3468, allocations: 29.83 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.3468, allocations: 92.03 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3468, allocations: 8 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3469, allocations: 9.719 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.347, allocations: 326.8 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.3471, allocations: 4 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.3471, allocations: 11.98 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/0.3472, allocations: 32.91 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3472, allocations: 3.938 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.3473, allocations: 57.58 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3473, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3473, allocations: 4 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3473, allocations: 0 / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.3474, allocations: 7.984 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3474, allocations: 0 / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.3475, allocations: 11.97 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3475, allocations: 4 kB / 1.358 GB, free: 3.254 MB / 1.045 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.57e-05/0.3476, allocations: 117.7 kB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.3476, allocations: 7.953 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.3478, allocations: 57.3 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3478, allocations: 0 / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3478, allocations: 3.938 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3478, allocations: 3.984 kB / 1.359 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.348, allocations: 148.7 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.348, allocations: 0 / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.348, allocations: 4 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.348, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.348, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.348, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.348, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3482, allocations: 163.4 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.3482, allocations: 0 / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3482, allocations: 4 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.3483, allocations: 0 / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3483, allocations: 7.969 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3483, allocations: 4 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.3484, allocations: 95.27 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002456/0.3486, allocations: 27.77 kB / 1.359 GB, free: 2.547 MB / 1.045 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.0001701/0.3488, allocations: 111.3 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3489, allocations: 23.98 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3489, allocations: 0 / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.895e-05/0.349, allocations: 15.98 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.3492, allocations: 1.875 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3495, allocations: 172.5 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3499, allocations: 0.6807 MB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.3499, allocations: 11.44 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/0.3499, allocations: 0 / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of Templates: time 0.002388/0.3523, allocations: 0.8318 MB / 1.361 GB, free: 0.6328 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.056960462999996]