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.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.001466/0.001466, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.002509/0.002509, allocations: 168.1 kB / 22.46 MB, free: 5.359 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.584/1.584, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.686/2.686, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.453e-06/1.453e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.372e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002694/0.002718, allocations: 1.507 MB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004028, allocations: 0.6978 MB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.00408, allocations: 3.938 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.004113, allocations: 7.922 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.004156, allocations: 7.938 kB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.004551, allocations: 95.59 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.004662, allocations: 39.84 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.004749, allocations: 8 kB / 0.9533 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004856, allocations: 23.97 kB / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.004902, allocations: 15.92 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004918, allocations: 4 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.005153, allocations: 115.8 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.005166, allocations: 7.938 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.005194, allocations: 19.91 kB / 0.9535 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.005416, allocations: 111.7 kB / 0.9536 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005419, allocations: 0 / 0.9536 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00542, allocations: 0 / 0.9536 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.005429, allocations: 0 / 0.9536 GB, free: 8.895 MB / 0.8575 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.0004697/0.005899, allocations: 294 kB / 0.9538 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.005936, allocations: 12.03 kB / 0.9539 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.006086, allocations: 20.88 kB / 0.9539 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.006304, allocations: 117.7 kB / 0.954 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.006313, allocations: 4.375 kB / 0.954 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.006332, allocations: 8.359 kB / 0.954 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.006503, allocations: 54.19 kB / 0.9541 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.006513, allocations: 192 / 0.9541 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006523, allocations: 384 / 0.9541 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.00653, allocations: 7.938 kB / 0.9541 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.00663, allocations: 23.97 kB / 0.9541 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.006959, allocations: 220.5 kB / 0.9543 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.00707, allocations: 42.44 kB / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.007118, allocations: 8.922 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.007357, allocations: 43.95 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.007387, allocations: 34.56 kB / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.007389, allocations: 0 / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002701/0.007659, allocations: 69.62 kB / 0.9545 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.007706, allocations: 51.41 kB / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.007814, allocations: 117.7 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.007831, allocations: 25.7 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.007898, allocations: 92.2 kB / 0.9548 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.007914, allocations: 3.953 kB / 0.9548 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.007953, allocations: 21.7 kB / 0.9548 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.008107, allocations: 310.8 kB / 0.9551 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.008159, allocations: 16.11 kB / 0.9551 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.008195, allocations: 8 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.008285, allocations: 24.84 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008287, allocations: 0 / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001574/0.008444, allocations: 69.52 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008457, allocations: 4 kB / 0.9552 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.008461, allocations: 0 / 0.9552 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.008481, allocations: 3.984 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.008548, allocations: 8.094 kB / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.008552, allocations: 0 / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.008593, allocations: 11.94 kB / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.0086, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.8575 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.632e-05/0.008686, allocations: 113.8 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.008715, allocations: 3.938 kB / 0.9553 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.008903, allocations: 73.23 kB / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008904, allocations: 0 / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.008908, allocations: 0 / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.00891, allocations: 4.031 kB / 0.9554 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.009061, allocations: 109.7 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.009062, allocations: 0 / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.009111, allocations: 11.88 kB / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009113, allocations: 0 / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.00912, allocations: 3.938 kB / 0.9555 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.009121, allocations: 0 / 0.9555 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.009124, allocations: 4 kB / 0.9555 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.009317, allocations: 147.5 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.00933, allocations: 15.92 kB / 0.9557 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.009343, allocations: 0 / 0.9557 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.009408, allocations: 3.984 kB / 0.9557 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.00944, allocations: 7.938 kB / 0.9557 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.009444, allocations: 0 / 0.9557 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.009505, allocations: 91.27 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009505, allocations: 0 / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002599/0.009765, allocations: 15.94 kB / 0.9558 GB, free: 6.371 MB / 0.8575 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.0001777/0.009943, allocations: 115.2 kB / 0.9559 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.01011, allocations: 23.98 kB / 0.9559 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01011, allocations: 0 / 0.9559 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.01016, allocations: 8 kB / 0.9559 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01038, allocations: 0 / 0.9559 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01072, allocations: 140.7 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.595e-05/0.01078, allocations: 67.28 kB / 0.9561 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.01081, allocations: 4.125 kB / 0.9561 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.01083, allocations: 12.5 kB / 0.9562 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.01083, allocations: 0 / 0.9562 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of Templates: time 0.003111/0.01394, allocations: 0.5293 MB / 0.9567 GB, free: 5.43 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.812334157526493]