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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_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.001517/0.001517, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.00167/0.00167, allocations: 191 kB / 17.29 MB, free: 5.516 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 74.02 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3177, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002651/0.3204, allocations: 1.513 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3214, allocations: 0.6434 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.3215, allocations: 4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3215, allocations: 3.938 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.3216, allocations: 3.938 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.3219, allocations: 79.73 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.322, allocations: 47.77 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3221, allocations: 12 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.3222, allocations: 19.98 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.3222, allocations: 19.86 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3223, allocations: 0 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.3225, allocations: 99.89 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3225, allocations: 4 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.3225, allocations: 19.86 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3227, allocations: 79.84 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3227, allocations: 3.938 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3227, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3227, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 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.0004285/0.3231, allocations: 367.4 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3232, allocations: 8.031 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3232, allocations: 12.83 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3234, allocations: 180.2 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3234, allocations: 384 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.3234, allocations: 384 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3236, allocations: 61.98 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3236, allocations: 0 / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3236, allocations: 0 / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3236, allocations: 4 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.3237, allocations: 27.98 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.3241, allocations: 284.7 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.3242, allocations: 30.56 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.3242, allocations: 8.922 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/0.3247, allocations: 0.5661 MB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3247, allocations: 30.56 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3247, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.325, allocations: 69.52 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.325, allocations: 51.41 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.3251, allocations: 122 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3252, allocations: 25.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.3252, allocations: 92.08 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3252, allocations: 7.891 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3253, allocations: 17.72 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3254, allocations: 318.7 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.3254, allocations: 19.98 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.3255, allocations: 8 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.3256, allocations: 24.84 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3256, allocations: 7.875 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001323/0.3257, allocations: 65.58 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3257, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3257, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3258, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.3258, allocations: 4.094 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3258, allocations: 4 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.3259, allocations: 7.984 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3259, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 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 7.059e-05/0.326, allocations: 117.7 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.326, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.3262, allocations: 73.12 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3262, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3262, allocations: 4.031 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3262, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3264, allocations: 177.6 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3264, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3264, allocations: 7.984 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3264, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3264, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3265, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3265, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3266, allocations: 155.4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3267, allocations: 89 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3267, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.3268, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.3268, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3268, allocations: 0 / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.074e-05/0.3269, allocations: 91.27 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3269, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00024/0.3271, allocations: 19.97 kB / 1.032 GB, free: 11.92 MB / 0.8106 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.0001548/0.3273, allocations: 111.2 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3274, allocations: 23.92 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3274, allocations: 4 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.3275, allocations: 8 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3277, allocations: 12.69 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.328, allocations: 126.8 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3283, allocations: 0.6845 MB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.3283, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3283, allocations: 11.44 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3283, allocations: 0 / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.002527/0.3309, allocations: 0.4959 MB / 1.034 GB, free: 10.39 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches