Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.001413/0.001413, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001899/0.001899, allocations: 215.9 kB / 22.25 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.359/3.359, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 62.78 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 176.1 MB / 1.325 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00193/0.3527, allocations: 0.6043 MB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3546, allocations: 1.28 MB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.3547, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.3547, allocations: 4 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.3547, allocations: 0 / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3551, allocations: 67.75 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.3551, allocations: 3.938 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.3552, allocations: 11.98 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.119e-05/0.3552, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.3552, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.413e-06/0.3552, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.3555, allocations: 103.9 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.3555, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.3556, allocations: 11.92 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3557, allocations: 60.14 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3557, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3557, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.3557, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 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.0003506/0.3561, allocations: 258.2 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3561, allocations: 12.03 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.3562, allocations: 30.75 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.3562, allocations: 0.9375 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.3563, allocations: 106.5 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3563, allocations: 8.312 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.3563, allocations: 384 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.3564, allocations: 33.83 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.3564, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3564, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3564, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.3564, allocations: 11.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.3566, allocations: 116.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.3566, allocations: 18.61 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.3566, allocations: 4.859 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.3569, allocations: 48.02 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.357, allocations: 42.48 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.357, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.3571, allocations: 37.64 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3572, allocations: 51.41 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.3572, allocations: 89.86 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3572, allocations: 25.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3573, allocations: 80.27 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.3573, allocations: 11.95 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.3573, allocations: 13.72 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3575, allocations: 314.8 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.3575, allocations: 4 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.3575, allocations: 3.984 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.3575, allocations: 8.859 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3575, allocations: 0 / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.519e-05/0.3576, allocations: 33.64 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3576, allocations: 11.94 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3576, allocations: 4.094 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3576, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.3577, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3577, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.3577, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3577, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 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 9.896e-05/0.3578, allocations: 114.4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.3578, allocations: 3.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3579, allocations: 48.58 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3579, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3579, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3579, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3581, allocations: 116.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3581, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.3581, allocations: 8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3581, allocations: 7.875 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3581, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3581, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3581, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.423e-05/0.3582, allocations: 61.16 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.3582, allocations: 3.938 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3582, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.3582, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.3582, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3582, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.3583, allocations: 79.22 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3583, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002042/0.3585, allocations: 11.94 kB / 1.329 GB, free: 14.04 MB / 1.029 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.0005786/0.359, allocations: 0.6086 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.544e-05/0.3591, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3591, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.3591, allocations: 7.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3593, allocations: 6.344 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.3597, allocations: 110.5 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.3598, allocations: 55.36 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.3598, allocations: 4.156 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.3598, allocations: 7.438 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3598, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.3876, allocations: 1.644 MB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 4.125 kB / 1.331 GB, free: 11.62 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: 18.59912400599569]