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.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.001368/0.001368, allocations: 113.4 kB / 17.08 MB, free: 5.988 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.001468/0.001468, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 71.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.983/0.9849, allocations: 163.8 MB / 1.263 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002769/0.9878, allocations: 1.496 MB / 1.264 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.9889, allocations: 0.6523 MB / 1.265 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.989, allocations: 4.406 kB / 1.265 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.989, allocations: 4.453 kB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.9891, allocations: 13.25 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.9895, allocations: 78.84 kB / 1.265 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.9896, allocations: 31.66 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9897, allocations: 18.98 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.9898, allocations: 23.31 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.9898, allocations: 17.03 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.9898, allocations: 3.156 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.9901, allocations: 102.2 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.9901, allocations: 11.5 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.9901, allocations: 13.62 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.9904, allocations: 84.72 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9904, allocations: 0.6562 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9904, allocations: 0.6562 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.9904, allocations: 4 kB / 1.265 GB, free: 6.535 MB / 0.9981 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.0004208/0.9908, allocations: 362.1 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9909, allocations: 8.562 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.9909, allocations: 8.672 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.991, allocations: 167.9 kB / 1.266 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.991, allocations: 6.484 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.991, allocations: 6.281 kB / 1.266 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.9912, allocations: 65.06 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.9912, allocations: 4.844 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.9912, allocations: 0 / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9912, allocations: 1.312 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.9913, allocations: 24.42 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.9917, allocations: 283.2 kB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.9918, allocations: 30.33 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.9918, allocations: 21.78 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.9922, allocations: 0.5553 MB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.9922, allocations: 31.89 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.9923, allocations: 0.6562 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002541/0.9925, allocations: 70.69 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.9925, allocations: 56.73 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.9926, allocations: 124.6 kB / 1.267 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.9927, allocations: 25.7 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.9927, allocations: 95.53 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.9927, allocations: 5.641 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.9927, allocations: 13.06 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.9928, allocations: 322.5 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.9928, allocations: 11.61 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.9929, allocations: 11.98 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.614e-05/0.993, allocations: 24.66 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.993, allocations: 0 / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.9931, allocations: 64.89 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9931, allocations: 5.219 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9931, allocations: 0.75 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.9932, allocations: 5.188 kB / 1.267 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.9932, allocations: 6.156 kB / 1.267 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.9932, allocations: 0.875 kB / 1.267 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.9933, allocations: 2.719 kB / 1.267 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.9933, allocations: 1.578 kB / 1.267 GB, free: 4.102 MB / 0.9981 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 5.683e-05/0.9933, allocations: 119.5 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.9934, allocations: 6.484 kB / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.9935, allocations: 69.95 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9936, allocations: 0.875 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.9936, allocations: 1.875 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9936, allocations: 0 / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.9937, allocations: 164.7 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9937, allocations: 1.859 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.9938, allocations: 5.078 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9938, allocations: 1.375 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9938, allocations: 0 / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9938, allocations: 1.469 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.9938, allocations: 32 / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.9939, allocations: 164.9 kB / 1.268 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.994, allocations: 79.8 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.994, allocations: 1.688 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.9941, allocations: 2.297 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.9941, allocations: 2.328 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.9941, allocations: 1.531 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.9942, allocations: 106.1 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9942, allocations: 0 / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002236/0.9944, allocations: 17.8 kB / 1.268 GB, free: 3.383 MB / 0.9981 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.0001455/0.9945, allocations: 101 kB / 1.268 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.9947, allocations: 22.81 kB / 1.268 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9947, allocations: 0 / 1.268 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.9948, allocations: 18.48 kB / 1.268 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.995, allocations: 7.156 kB / 1.268 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.9953, allocations: 171.4 kB / 1.268 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.9954, allocations: 0.6811 MB / 1.269 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.9954, allocations: 11.11 kB / 1.269 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.9955, allocations: 0 / 1.269 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.002981/0.9984, allocations: 0.7177 MB / 1.27 GB, free: 2.359 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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: 10.954864882165566]