Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.1.0-maint.11.x/package.mo", uses=false) 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009113/0.009113, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.002002/0.002002, allocations: 203.6 kB / 16.68 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 75.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3279, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001907/0.3298, allocations: 0.5836 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3314, allocations: 1.246 MB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.3314, allocations: 4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.3314, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.3315, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3318, allocations: 67.75 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.3318, allocations: 3.984 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.3319, allocations: 3.984 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.166e-05/0.3319, allocations: 0 / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.3319, allocations: 7.938 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.3319, allocations: 3.938 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.3322, allocations: 99.89 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.3322, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.3322, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3323, allocations: 51.88 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3323, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3323, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3323, allocations: 3.984 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003288/0.3327, allocations: 323.4 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3327, allocations: 8.031 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.3327, allocations: 0.9375 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.3328, allocations: 168.4 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.3328, allocations: 4.375 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3328, allocations: 4.375 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.3329, allocations: 34 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3329, allocations: 3.938 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3329, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3329, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.333, allocations: 7.938 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.3332, allocations: 149.6 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.3332, allocations: 22.58 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.3332, allocations: 8.953 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/0.3338, allocations: 0.5622 MB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3339, allocations: 34.5 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3339, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.334, allocations: 41.64 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.334, allocations: 51.41 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.3341, allocations: 89.86 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3341, allocations: 25.7 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.3341, allocations: 80.14 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3341, allocations: 0 / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3342, allocations: 13.72 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3343, allocations: 319 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.3343, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.3343, allocations: 4 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.3343, allocations: 12.8 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3343, allocations: 0 / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.833e-05/0.3344, allocations: 33.7 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3344, allocations: 7.938 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3344, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3344, allocations: 96 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.3345, allocations: 11.98 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3345, allocations: 0 / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.3345, allocations: 0 / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3345, allocations: 0 / 1.225 GB, free: 9.344 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 (1): * Single equations (assignments): 1 * 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 6.88e-05/0.3346, allocations: 105.8 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.3346, allocations: 3.938 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.3347, allocations: 52.75 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3347, allocations: 3.984 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3347, allocations: 0 / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3347, allocations: 0 / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.761e-05/0.3348, allocations: 141.7 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3348, allocations: 4 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.3348, allocations: 4 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3348, allocations: 3.938 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3348, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3348, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3348, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.233e-05/0.3349, allocations: 73.03 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3349, allocations: 77.11 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3349, allocations: 7.875 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.3349, allocations: 4 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.3349, allocations: 0 / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.3349, allocations: 3.984 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.3349, allocations: 75.28 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3349, allocations: 4.031 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001941/0.3351, allocations: 4 kB / 1.225 GB, free: 8.688 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 (1): * Single equations (assignments): 1 * 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.0002764/0.3354, allocations: 115.2 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.792e-05/0.3355, allocations: 4 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3355, allocations: 0 / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.3355, allocations: 4 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3357, allocations: 5.859 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.3359, allocations: 88.91 kB / 1.225 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3362, allocations: 0.6729 MB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.3362, allocations: 0 / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.3362, allocations: 11.44 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3362, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of Templates: time 0.002199/0.3384, allocations: 307.8 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches