Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 193.3 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9152, allocations: 140.4 MB / 0.9489 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003181/0.9184, allocations: 1.55 MB / 0.9504 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.9196, allocations: 0.6593 MB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.9197, allocations: 0 / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.9197, allocations: 1.438 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.9198, allocations: 11.92 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.9202, allocations: 58.88 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.9204, allocations: 33.67 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.9205, allocations: 14.86 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.9206, allocations: 13.44 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.9207, allocations: 21.34 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.9207, allocations: 5.375 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.921, allocations: 95.5 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.921, allocations: 6.234 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.9211, allocations: 23.7 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.9214, allocations: 80.8 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.9214, allocations: 0 / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9214, allocations: 0 / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.9214, allocations: 1.188 kB / 0.9514 GB, free: 7.32 MB / 0.7169 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.0005877/0.922, allocations: 364.4 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.9221, allocations: 9.656 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.9221, allocations: 12.19 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.9223, allocations: 174.8 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.9223, allocations: 1.938 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.9223, allocations: 1.5 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.9225, allocations: 59.52 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.9225, allocations: 0 / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.9226, allocations: 5.375 kB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9226, allocations: 0 / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.9227, allocations: 28.2 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.9232, allocations: 287.3 kB / 0.9523 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.9233, allocations: 30.75 kB / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.9233, allocations: 12.73 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.9238, allocations: 0.5643 MB / 0.9529 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.9238, allocations: 31.88 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.9238, allocations: 0 / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002705/0.9241, allocations: 67.14 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.9242, allocations: 52.69 kB / 0.9531 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.9243, allocations: 125.8 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.9243, allocations: 29.83 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.9243, allocations: 90.41 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.9244, allocations: 5.062 kB / 0.9533 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.9244, allocations: 20.75 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.9245, allocations: 320 kB / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.9245, allocations: 9.5 kB / 0.9536 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.9246, allocations: 10.52 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.451e-05/0.9247, allocations: 32.72 kB / 0.9537 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9247, allocations: 0 / 0.9537 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001313/0.9248, allocations: 51.97 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.9249, allocations: 4.531 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9249, allocations: 1.125 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9249, allocations: 0 / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.925, allocations: 4.094 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.925, allocations: 5.047 kB / 0.9537 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.9251, allocations: 14.78 kB / 0.9538 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.9251, allocations: 0 / 0.9538 GB, free: 4.797 MB / 0.7169 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.476e-05/0.9252, allocations: 111.7 kB / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.9252, allocations: 6.406 kB / 0.9539 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.9254, allocations: 66.05 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9254, allocations: 1.438 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9254, allocations: 3.938 kB / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9254, allocations: 4.031 kB / 0.9539 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.9256, allocations: 169.6 kB / 0.9541 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9256, allocations: 0 / 0.9541 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.9257, allocations: 9.359 kB / 0.9541 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.9257, allocations: 0 / 0.9541 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.9257, allocations: 0 / 0.9541 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-05/0.9257, allocations: 5.641 kB / 0.9541 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9258, allocations: 0 / 0.9541 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.9259, allocations: 166 kB / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.926, allocations: 82.11 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.926, allocations: 1.438 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.9261, allocations: 0.8438 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.9261, allocations: 1.344 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.9261, allocations: 1.031 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.9262, allocations: 93.55 kB / 0.9544 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9262, allocations: 1.406 kB / 0.9544 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002475/0.9264, allocations: 15.98 kB / 0.9545 GB, free: 4.047 MB / 0.7169 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.0001577/0.9266, allocations: 108.2 kB / 0.9546 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.9267, allocations: 26.36 kB / 0.9546 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9268, allocations: 0 / 0.9546 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.9268, allocations: 16.73 kB / 0.9546 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.9271, allocations: 1.25 kB / 0.9546 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.9274, allocations: 153.7 kB / 0.9548 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.9275, allocations: 0.6806 MB / 0.9554 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.9275, allocations: 10.5 kB / 0.9554 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.9275, allocations: 8.75 kB / 0.9554 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.9275, allocations: 0 / 0.9554 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.003196/0.9307, allocations: 452.6 kB / 0.9559 GB, free: 2.848 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches