Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Splice.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.001863/0.001863, 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.002272/0.002272, allocations: 213 kB / 22.25 MB, free: 4.855 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.777 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.377/3.377, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",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.002243/0.002243, allocations: 64.19 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4395, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003108/0.4427, allocations: 1.509 MB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.444, allocations: 0.6908 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.4441, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.4441, allocations: 3.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.4442, allocations: 7.922 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.4446, allocations: 99.66 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.4447, allocations: 43.8 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4448, allocations: 15.92 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4449, allocations: 19.92 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.445, allocations: 19.92 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.445, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.4452, allocations: 107.9 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.4452, allocations: 11.92 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.4452, allocations: 11.94 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4454, allocations: 103.7 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4454, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4454, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.4454, allocations: 0 / 1.366 GB, free: 11.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004821/0.4459, allocations: 290 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.446, allocations: 8.031 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.446, allocations: 42.73 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.4462, allocations: 12.89 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.4464, allocations: 122.4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4464, allocations: 8.375 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.4464, allocations: 384 / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.4466, allocations: 57.8 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4466, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4466, allocations: 8 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4466, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.4467, allocations: 23.98 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.447, allocations: 255.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.4471, allocations: 34.56 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.4472, allocations: 12.92 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.4474, allocations: 39.97 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.4475, allocations: 38.55 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4475, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.4477, allocations: 65.58 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4477, allocations: 51.41 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4479, allocations: 134 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.4479, allocations: 25.7 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.4479, allocations: 88.08 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.4479, allocations: 12.06 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.448, allocations: 17.72 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4481, allocations: 318.8 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.4482, allocations: 11.98 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.4482, allocations: 8 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.4483, allocations: 28.78 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4483, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.4484, allocations: 61.66 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4484, allocations: 12.09 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.4484, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4484, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.4485, allocations: 4 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4485, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.4485, allocations: 7.953 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4485, allocations: 7.922 kB / 1.368 GB, free: 9.398 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 (2): * Single equations (assignments): 2 * 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 8.643e-05/0.4486, allocations: 109.8 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.4487, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.4488, allocations: 69.23 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4488, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4488, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4488, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.449, allocations: 136.7 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.449, allocations: 0 / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.449, allocations: 7.984 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.449, allocations: 0 / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4491, allocations: 0 / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.4491, allocations: 4 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4491, allocations: 32 / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.4492, allocations: 155.4 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.4493, allocations: 15.94 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.4493, allocations: 0 / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.4493, allocations: 7.938 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4494, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4494, allocations: 3.938 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.4494, allocations: 102 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4494, allocations: 0 / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002392/0.4497, allocations: 23.92 kB / 1.368 GB, free: 8.691 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 (2): * Single equations (assignments): 2 * 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.0005553/0.4502, allocations: 0.6852 MB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.4504, allocations: 27.92 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4504, allocations: 0 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.4504, allocations: 11.98 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4506, allocations: 4 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.452, allocations: 1.342 MB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.4521, allocations: 67.34 kB / 1.37 GB, free: 6.434 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.4521, allocations: 4 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.4522, allocations: 15.42 kB / 1.37 GB, free: 6.414 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4522, allocations: 0 / 1.37 GB, free: 6.414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.4835, allocations: 2.16 MB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.79, allocations: 8.031 kB / 1.373 GB, free: 4.383 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.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.04982406506315]