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.001336/0.001336, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001403/0.001403, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.863/2.863, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 GB " [Timeout remaining time 176] 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.002074/0.002074, allocations: 73.62 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002019/1.063, allocations: 0.5861 MB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002262/1.066, allocations: 1.343 MB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/1.066, allocations: 0 / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/1.066, allocations: 0 / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/1.066, allocations: 0 / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/1.066, allocations: 77.34 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.891e-05/1.066, allocations: 1.516 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/1.066, allocations: 1.516 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/1.066, allocations: 5.75 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/1.066, allocations: 1.656 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/1.066, allocations: 0 / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/1.067, allocations: 121.4 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/1.067, allocations: 0 / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/1.067, allocations: 1.094 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/1.067, allocations: 59.05 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.067, allocations: 1.062 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.067, allocations: 4 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.46e-06/1.067, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9981 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.0004279/1.067, allocations: 333.3 kB / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.067, allocations: 10.98 kB / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.557e-05/1.068, allocations: 192 / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/1.068, allocations: 31.5 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/1.068, allocations: 1.594 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.068, allocations: 165.9 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.068, allocations: 5.094 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/1.068, allocations: 1.344 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/1.068, allocations: 35.81 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.068, allocations: 1.828 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/1.068, allocations: 0 / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.068, allocations: 0 / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/1.068, allocations: 2.156 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/1.068, allocations: 148.9 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/1.068, allocations: 20.73 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/1.068, allocations: 6.609 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/1.069, allocations: 0.5658 MB / 1.282 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.069, allocations: 32.27 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.069, allocations: 3.938 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000192/1.069, allocations: 36.11 kB / 1.282 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/1.069, allocations: 57.2 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/1.069, allocations: 89.86 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.069, allocations: 25.7 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/1.069, allocations: 81.42 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/1.069, allocations: 4.891 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/1.069, allocations: 12.38 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.07, allocations: 311.4 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/1.07, allocations: 6.016 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/1.07, allocations: 1.125 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/1.07, allocations: 16.64 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.07, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.492e-05/1.07, allocations: 36.38 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.07, allocations: 5.281 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.07, allocations: 5.734 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.07, allocations: 4 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/1.07, allocations: 6.297 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.07, allocations: 4 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/1.07, allocations: 1.219 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.07, allocations: 1.062 kB / 1.283 GB, free: 7.996 MB / 0.9981 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 0.0001043/1.07, allocations: 107.6 kB / 1.283 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/1.07, allocations: 4.438 kB / 1.283 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/1.07, allocations: 44.78 kB / 1.283 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.07, allocations: 4.531 kB / 1.283 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.07, allocations: 0.5 kB / 1.283 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.07, allocations: 1.25 kB / 1.283 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/1.07, allocations: 144.2 kB / 1.283 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.07, allocations: 0.5938 kB / 1.283 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/1.07, allocations: 6.344 kB / 1.283 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.07, allocations: 0.5 kB / 1.283 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/1.07, allocations: 1.203 kB / 1.283 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.07, allocations: 0.5312 kB / 1.283 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.07, allocations: 0.5312 kB / 1.283 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/1.07, allocations: 65.78 kB / 1.283 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/1.071, allocations: 86.19 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/1.071, allocations: 1.234 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/1.071, allocations: 0.6562 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/1.071, allocations: 1.297 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/1.071, allocations: 1 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.359e-05/1.071, allocations: 75.28 kB / 1.284 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.071, allocations: 4.594 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002546/1.071, allocations: 11.75 kB / 1.284 GB, free: 7.379 MB / 0.9981 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.0006834/1.072, allocations: 0.6082 MB / 1.284 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001109/1.072, allocations: 12.28 kB / 1.284 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.072, allocations: 4.094 kB / 1.284 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/1.072, allocations: 3.391 kB / 1.284 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/1.072, allocations: 1.094 kB / 1.284 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/1.072, allocations: 114.7 kB / 1.284 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/1.073, allocations: 0.6713 MB / 1.285 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.308e-05/1.073, allocations: 1.125 kB / 1.285 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/1.073, allocations: 13.11 kB / 1.285 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.073, allocations: 0 / 1.285 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/1.094, allocations: 1.19 MB / 1.286 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/9.609, allocations: 13.06 kB / 1.286 GB, free: 5.523 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.041229382972233]