Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001769/0.001769, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001991/0.001991, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.498/1.498, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 476.7 MB / 0.7645 GB, free: 10.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 67.89 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8371, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00291/0.84, allocations: 1.508 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.8413, allocations: 0.6598 MB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.8413, allocations: 3.938 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.8413, allocations: 3.938 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.8414, allocations: 11.94 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.8418, allocations: 79.67 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.8419, allocations: 31.92 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.842, allocations: 14.66 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.8421, allocations: 23.91 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.8421, allocations: 19.86 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8421, allocations: 0 / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.8424, allocations: 103.9 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.8424, allocations: 4 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.8424, allocations: 23.86 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.8426, allocations: 83.72 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8426, allocations: 0 / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8426, allocations: 0 / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8426, allocations: 0 / 1.277 GB, free: 1.953 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.0005185/0.8431, allocations: 371 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.8432, allocations: 8.031 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.8432, allocations: 8.891 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8433, allocations: 172.3 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.8434, allocations: 8.375 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.8434, allocations: 384 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.8435, allocations: 61.98 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8435, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.8436, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.8436, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.8437, allocations: 31.91 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.8441, allocations: 280.7 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.8442, allocations: 30.58 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.8442, allocations: 20.84 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.8448, allocations: 0.5544 MB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.8448, allocations: 38.55 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8448, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002749/0.8451, allocations: 61.69 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.8451, allocations: 51.41 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.8453, allocations: 129.7 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.8453, allocations: 25.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.8453, allocations: 92.14 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.8454, allocations: 4.078 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.8454, allocations: 25.7 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8455, allocations: 318.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.8456, allocations: 11.92 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.8456, allocations: 15.94 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.8457, allocations: 28.84 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8457, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001313/0.8458, allocations: 61.7 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.8459, allocations: 4 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.8459, allocations: 3.984 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8459, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.846, allocations: 7.938 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.846, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.846, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.846, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 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.792e-05/0.8461, allocations: 129.7 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.8461, allocations: 3.953 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.8463, allocations: 65.19 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8463, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.8463, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8463, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.8465, allocations: 165.6 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8465, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.8465, allocations: 4 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8465, allocations: 4.031 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.8466, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8466, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8466, allocations: 3.984 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.8468, allocations: 159.4 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.8468, allocations: 77.11 kB / 1.279 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.8468, allocations: 4 kB / 1.279 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.8469, allocations: 8.016 kB / 1.279 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.8469, allocations: 0 / 1.279 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.8469, allocations: 4 kB / 1.279 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.847, allocations: 95.27 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.847, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002374/0.8472, allocations: 19.88 kB / 1.28 GB, free: 14.38 MB / 0.9825 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.0001599/0.8474, allocations: 103.8 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.8475, allocations: 27.92 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8475, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.8476, allocations: 12 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.8478, allocations: 10.02 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.8482, allocations: 146.5 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.8485, allocations: 0.6845 MB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.8485, allocations: 12.05 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.8486, allocations: 11.44 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.8486, allocations: 0 / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.003002/0.8516, allocations: 0.489 MB / 1.281 GB, free: 12.82 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.772277020849288]