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.001353/0.001353, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001722/0.001722, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.758 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.491/3.491, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_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.002069/0.002069, allocations: 70.12 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4136, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001981/0.4155, allocations: 0.5898 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.4176, allocations: 1.28 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.4176, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.4176, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.4176, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.4181, allocations: 71.75 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.4181, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.4182, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.4182, allocations: 11.94 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.4182, allocations: 11.92 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.4182, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.4185, allocations: 99.89 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.4185, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.4186, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.4187, allocations: 72.06 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4187, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4187, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.4187, allocations: 0 / 1.366 GB, free: 11.94 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.0003321/0.4191, allocations: 262.2 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4191, allocations: 8.031 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.4192, allocations: 30.75 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.4192, allocations: 4.922 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.4193, allocations: 106.5 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-06/0.4193, allocations: 384 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.4193, allocations: 384 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.927e-05/0.4194, allocations: 37.77 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.4194, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.4194, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4194, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.4194, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.4196, allocations: 124.8 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.4196, allocations: 14.58 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.4196, allocations: 8.953 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.4199, allocations: 35.97 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.42, allocations: 38.44 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.42, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.4201, allocations: 45.69 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.4201, allocations: 51.41 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.809e-05/0.4202, allocations: 89.86 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4202, allocations: 29.64 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.4202, allocations: 81.2 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4203, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.4203, allocations: 17.72 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4205, allocations: 310.8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.4205, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.4205, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.4205, allocations: 16.97 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.864e-05/0.4206, allocations: 33.7 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4206, allocations: 7.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4206, allocations: 3.938 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4206, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.209e-05/0.4206, allocations: 4 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4206, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.4206, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.4206, allocations: 0 / 1.367 GB, free: 10.4 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 0.0001231/0.4208, allocations: 113.9 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.4208, allocations: 11.92 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.722e-05/0.4209, allocations: 40.64 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4209, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4209, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4209, allocations: 4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.421, allocations: 116.8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.421, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.421, allocations: 4.031 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.421, allocations: 7.938 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.421, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.421, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.421, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.949e-05/0.4211, allocations: 65.06 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.4211, allocations: 3.938 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.4211, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.4211, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.4211, allocations: 4 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.4211, allocations: 4.031 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.4212, allocations: 79.22 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4212, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001923/0.4214, allocations: 15.94 kB / 1.367 GB, free: 9.859 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.0005241/0.4219, allocations: 0.6046 MB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.422, allocations: 7.938 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.422, allocations: 0 / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.422, allocations: 4 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.4221, allocations: 4.156 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.4225, allocations: 110.5 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.445e-05/0.4225, allocations: 55.36 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.4226, allocations: 7.984 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.4226, allocations: 11.42 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4226, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.4513, allocations: 1.627 MB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.65, allocations: 5.766 kB / 1.37 GB, free: 7.457 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.000083291903138]