Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002166/0.002166, 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.002543/0.002543, 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.612/1.612, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.154/3.154, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_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.00266/0.00266, allocations: 71.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.156, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001819/1.158, allocations: 0.5944 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.16, allocations: 1.341 MB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/1.16, allocations: 0 / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/1.16, allocations: 0 / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/1.16, allocations: 1.188 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/1.16, allocations: 75.64 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.059e-05/1.16, allocations: 2.219 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/1.16, allocations: 1.734 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/1.16, allocations: 1.875 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/1.16, allocations: 1 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/1.16, allocations: 0 / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/1.161, allocations: 117.8 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/1.161, allocations: 4.594 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/1.161, allocations: 1.75 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/1.161, allocations: 62.52 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.161, allocations: 0 / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.161, allocations: 3.938 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.319e-06/1.161, allocations: 0 / 1.342 GB, free: 14.85 MB / 1.061 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.0002688/1.161, allocations: 330.2 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.161, allocations: 11.55 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.203e-05/1.161, allocations: 4.188 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.771e-05/1.161, allocations: 30.75 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.031e-05/1.161, allocations: 0.9375 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.684e-05/1.161, allocations: 163.8 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.161, allocations: 384 / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/1.161, allocations: 384 / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.441e-05/1.161, allocations: 32.25 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.161, allocations: 2.516 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/1.161, allocations: 0 / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.161, allocations: 4 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/1.161, allocations: 5.75 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/1.162, allocations: 153.6 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.758e-05/1.162, allocations: 20.84 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/1.162, allocations: 5.562 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/1.162, allocations: 0.57 MB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/1.162, allocations: 31.31 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.162, allocations: 1.281 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000136/1.162, allocations: 37.05 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/1.162, allocations: 52.2 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.859e-05/1.162, allocations: 89.86 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/1.162, allocations: 25.7 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.191e-05/1.162, allocations: 88.27 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/1.162, allocations: 6.141 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/1.162, allocations: 11.25 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/1.162, allocations: 312.2 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/1.162, allocations: 1.125 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/1.162, allocations: 1 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/1.162, allocations: 8.75 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.162, allocations: 3.938 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.568e-05/1.162, allocations: 48.98 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.163, allocations: 6.25 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.163, allocations: 0 / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.163, allocations: 0.7969 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/1.163, allocations: 1.75 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.163, allocations: 0.7969 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/1.163, allocations: 1.938 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/1.163, allocations: 0 / 1.344 GB, free: 12.56 MB / 1.061 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 4.137e-05/1.163, allocations: 109.3 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/1.163, allocations: 9.219 kB / 1.344 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/1.163, allocations: 48.8 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.163, allocations: 0 / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.163, allocations: 5.406 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.163, allocations: 0 / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.809e-05/1.163, allocations: 145.2 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.163, allocations: 0 / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/1.163, allocations: 6.438 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/1.163, allocations: 4.031 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/1.163, allocations: 1.062 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.163, allocations: 0.75 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.163, allocations: 0.9688 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.684e-05/1.163, allocations: 57.89 kB / 1.345 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/1.163, allocations: 81.84 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/1.163, allocations: 1.062 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/1.163, allocations: 7.969 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/1.163, allocations: 6.391 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/1.163, allocations: 0 / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.194e-05/1.163, allocations: 76.81 kB / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.163, allocations: 0 / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002152/1.163, allocations: 10.89 kB / 1.345 GB, free: 11.94 MB / 1.061 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.0002817/1.163, allocations: 0.6109 MB / 1.345 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/1.164, allocations: 4.766 kB / 1.345 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.164, allocations: 3.938 kB / 1.345 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/1.164, allocations: 6.891 kB / 1.345 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/1.164, allocations: 9.375 kB / 1.345 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/1.164, allocations: 115.2 kB / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/1.164, allocations: 0.6755 MB / 1.346 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.812e-05/1.164, allocations: 1.344 kB / 1.346 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/1.164, allocations: 7.438 kB / 1.346 GB, free: 10.48 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.164, allocations: 0 / 1.346 GB, free: 10.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/1.182, allocations: 1.18 MB / 1.347 GB, free: 10.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/9.403, allocations: 7.328 kB / 1.347 GB, free: 10.1 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.48336009698687]