Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001568/0.001568, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001695/0.001695, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 1.057 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3324, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003103/0.3355, allocations: 1.516 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3368, allocations: 0.6482 MB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.3369, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.3369, allocations: 3.938 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.337, allocations: 11.88 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.3374, allocations: 79.72 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.3375, allocations: 35.86 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.3376, allocations: 15.92 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.3376, allocations: 11.94 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.3377, allocations: 23.92 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3377, allocations: 3.984 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3379, allocations: 103.9 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.338, allocations: 7.938 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.338, allocations: 15.92 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.3382, allocations: 87.7 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3382, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3382, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.3382, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 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.0005628/0.3388, allocations: 371.2 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3388, allocations: 8.031 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3388, allocations: 12.83 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.339, allocations: 168.3 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.339, allocations: 8.375 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.339, allocations: 384 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3392, allocations: 61.98 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3392, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3392, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3392, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.3393, allocations: 27.98 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.3398, allocations: 288.7 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3399, allocations: 30.58 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.3399, allocations: 16.91 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/0.3405, allocations: 0.5583 MB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3406, allocations: 30.56 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3406, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002969/0.3409, allocations: 73.55 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3409, allocations: 51.41 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.341, allocations: 122 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3411, allocations: 29.7 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.3411, allocations: 88.14 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.3411, allocations: 11.89 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3412, allocations: 13.72 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3414, allocations: 322.8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.3414, allocations: 4 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.3414, allocations: 15.98 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.3415, allocations: 28.91 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3415, allocations: 3.938 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001435/0.3417, allocations: 53.64 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3417, allocations: 8 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3417, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3417, allocations: 4 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.3418, allocations: 7.984 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3418, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.3418, allocations: 8.031 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3418, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 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.445e-05/0.3419, allocations: 117.8 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.342, allocations: 3.953 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.3422, allocations: 65.12 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.3422, allocations: 4 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3422, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3422, allocations: 8.016 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3424, allocations: 169.6 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3424, allocations: 3.938 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.3424, allocations: 4 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3424, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.3424, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3424, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3424, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.3426, allocations: 167.3 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.3427, allocations: 81.06 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3427, allocations: 0 / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.3428, allocations: 4 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3428, allocations: 3.984 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3428, allocations: 0 / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.786e-05/0.3429, allocations: 99.27 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002361/0.3431, allocations: 15.94 kB / 1.22 GB, free: 10.77 MB / 0.9669 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.0001825/0.3433, allocations: 110.8 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.3435, allocations: 19.98 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3435, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.3435, allocations: 15.98 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.3437, allocations: 9.969 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.3441, allocations: 168.4 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3445, allocations: 0.6846 MB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3445, allocations: 7.438 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3445, allocations: 0 / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.002606/0.3471, allocations: 0.727 MB / 1.221 GB, free: 8.977 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.134486709022895]