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.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.001774/0.001774, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001931/0.001931, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",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.001974/0.001974, allocations: 63.81 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 169.9 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001711/0.2953, allocations: 0.6039 MB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.297, allocations: 1.332 MB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.297, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.2971, allocations: 4 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.2971, allocations: 0 / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.2975, allocations: 79.72 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.439e-05/0.2975, allocations: 0 / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.2975, allocations: 0 / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.2976, allocations: 7.938 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.2976, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.2976, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.2979, allocations: 115.9 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.2979, allocations: 8 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.298, allocations: 0 / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2981, allocations: 64.5 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2981, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2981, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2981, allocations: 0 / 1.286 GB, free: 9.457 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.0002979/0.2984, allocations: 256.3 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2985, allocations: 11.97 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.2985, allocations: 192 / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.2985, allocations: 34.75 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.2985, allocations: 4.938 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.2986, allocations: 102.5 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.2986, allocations: 384 / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.2986, allocations: 384 / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.2987, allocations: 41.56 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2987, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.2987, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2987, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.2987, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.2989, allocations: 128.8 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.2989, allocations: 14.58 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.2989, allocations: 8.953 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.2993, allocations: 47.83 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2993, allocations: 34.56 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2993, allocations: 0 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.2994, allocations: 33.7 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2995, allocations: 55.41 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.743e-05/0.2995, allocations: 89.86 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2995, allocations: 25.7 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.2996, allocations: 80.14 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.2996, allocations: 11.88 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2996, allocations: 13.84 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2997, allocations: 318.8 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.2998, allocations: 4 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.2998, allocations: 3.938 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.2998, allocations: 8.859 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2998, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.694e-05/0.2999, allocations: 37.64 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2999, allocations: 11.98 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2999, allocations: 4.094 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2999, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.2999, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2999, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.2999, allocations: 4 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.2999, allocations: 0 / 1.288 GB, free: 7.906 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 7.098e-05/0.3, allocations: 106.6 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.3, allocations: 7.938 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.81e-05/0.3001, allocations: 48.62 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3001, allocations: 0 / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3001, allocations: 3.938 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.3001, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.3002, allocations: 112.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3002, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.3002, allocations: 7.938 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3002, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3002, allocations: 3.984 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3002, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3002, allocations: 4.031 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/0.3003, allocations: 61.08 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.3003, allocations: 3.938 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.3003, allocations: 0 / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.3004, allocations: 0 / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3004, allocations: 7.984 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.3004, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.3004, allocations: 79.31 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3004, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002036/0.3006, allocations: 12 kB / 1.288 GB, free: 7.383 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.0004188/0.301, allocations: 0.6084 MB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.3011, allocations: 11.97 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3011, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.3011, allocations: 7.984 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3012, allocations: 0 / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.3015, allocations: 115 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3018, allocations: 0.6729 MB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.3018, allocations: 8.109 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.3018, allocations: 11.44 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3018, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.3222, allocations: 1.261 MB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.58, allocations: 8 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.2977110639913]