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.001749/0.001749, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002228/0.002228, allocations: 189.5 kB / 22.22 MB, free: 5.102 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.719/1.719, allocations: 225.6 MB / 251 MB, free: 13.02 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.186/3.186, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.002067/0.002067, allocations: 67.27 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002661/0.3322, allocations: 1.515 MB / 1.309 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3333, allocations: 0.6622 MB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.3334, allocations: 4 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.3334, allocations: 3.938 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.3334, allocations: 11.92 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.3338, allocations: 79.73 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.3338, allocations: 35.8 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.3339, allocations: 15.92 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.334, allocations: 19.92 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.3341, allocations: 15.92 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3341, allocations: 4 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.3343, allocations: 99.89 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.3343, allocations: 15.92 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.3343, allocations: 19.88 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3345, allocations: 83.77 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3345, allocations: 0 / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3345, allocations: 0 / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3345, allocations: 0 / 1.31 GB, free: 15.19 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.0004392/0.3349, allocations: 282.1 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.335, allocations: 16.86 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.335, allocations: 4.891 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3351, allocations: 114.4 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3351, allocations: 8.375 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3351, allocations: 384 / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3353, allocations: 65.95 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3353, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3353, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3353, allocations: 0 / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3354, allocations: 31.92 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.3358, allocations: 247.8 kB / 1.311 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.136e-05/0.3359, allocations: 34.56 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.3359, allocations: 12.92 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.3362, allocations: 39.97 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.3362, allocations: 46.48 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3362, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000267/0.3365, allocations: 57.69 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3365, allocations: 55.41 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3367, allocations: 121.8 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3367, allocations: 25.7 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.3367, allocations: 84.14 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3368, allocations: 15.89 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.3368, allocations: 17.83 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3369, allocations: 322.8 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.337, allocations: 7.984 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.337, allocations: 8 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.3371, allocations: 32.78 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3371, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001327/0.3372, allocations: 57.7 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3373, allocations: 8.719 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3373, allocations: 4 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3373, allocations: 3.984 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.3373, allocations: 4 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.3373, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.3374, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3374, allocations: 4 kB / 1.311 GB, free: 13.3 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.78e-05/0.3375, allocations: 125.7 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3375, allocations: 7.953 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.3377, allocations: 61.23 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3377, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3377, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3377, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3379, allocations: 144.6 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3379, allocations: 0 / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.3379, allocations: 8 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3379, allocations: 4.031 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3379, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3379, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3379, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.3381, allocations: 163.4 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.3381, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3381, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.3382, allocations: 12.02 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.3382, allocations: 0 / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3382, allocations: 0 / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.3383, allocations: 99.27 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3383, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002379/0.3385, allocations: 11.94 kB / 1.312 GB, free: 12.6 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.0001521/0.3387, allocations: 108 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.3388, allocations: 27.97 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3388, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.3389, allocations: 15.94 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3391, allocations: 6.344 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.3394, allocations: 134.8 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3397, allocations: 0.6807 MB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.3397, allocations: 12.11 kB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.3398, allocations: 7.438 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.3398, allocations: 0 / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of Templates: time 0.002987/0.3428, allocations: 0.5072 MB / 1.314 GB, free: 11.05 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.119677173905075]