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.001789/0.001789, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002163/0.002163, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.98 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.382/3.382, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.002026/0.002026, allocations: 67.14 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.449, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002964/0.452, allocations: 1.528 MB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.4534, allocations: 0.7559 MB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.4535, allocations: 0 / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.4535, allocations: 3.938 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.4535, allocations: 3.938 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.454, allocations: 107.6 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.4541, allocations: 43.8 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4542, allocations: 15.92 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.4543, allocations: 15.94 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.4544, allocations: 15.92 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4544, allocations: 4 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.4546, allocations: 119.9 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.4547, allocations: 11.92 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.4547, allocations: 19.86 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.4549, allocations: 87.78 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.4549, allocations: 7.984 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4549, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4549, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 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.0005013/0.4554, allocations: 301.9 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4555, allocations: 8.031 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.4555, allocations: 34.75 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.4557, allocations: 16.88 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.4559, allocations: 130.4 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.4559, allocations: 4.375 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.4559, allocations: 4.375 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.4561, allocations: 54.38 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4561, allocations: 0 / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.4561, allocations: 0 / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4561, allocations: 0 / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.4562, allocations: 31.91 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.4566, allocations: 247.9 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.4567, allocations: 30.56 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.4568, allocations: 28.78 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.4571, allocations: 35.97 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4571, allocations: 38.56 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4571, allocations: 0 / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.4574, allocations: 65.66 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4574, allocations: 51.41 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4576, allocations: 126.1 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4576, allocations: 25.7 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.4576, allocations: 92.16 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.4577, allocations: 12 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.4577, allocations: 9.719 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4579, allocations: 326.8 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.4579, allocations: 7.938 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.092e-05/0.458, allocations: 11.98 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.4581, allocations: 28.84 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4581, allocations: 4.062 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.4582, allocations: 53.64 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4582, allocations: 6.188 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4582, allocations: 4 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4582, allocations: 0 / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.4583, allocations: 11.98 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.4583, allocations: 0 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.4583, allocations: 3.938 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4584, allocations: 11.88 kB / 1.357 GB, free: 3.672 MB / 1.045 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 0.0001136/0.4585, allocations: 121.8 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.4585, allocations: 7.953 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.4587, allocations: 57.3 kB / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4587, allocations: 0 / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4587, allocations: 0 / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4587, allocations: 7.984 kB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.4589, allocations: 144.7 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4589, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.4589, allocations: 8.031 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4589, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4589, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.459, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.459, allocations: 3.984 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.4592, allocations: 163.4 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.4592, allocations: 0 / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4592, allocations: 8.031 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.4592, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.4593, allocations: 3.984 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4593, allocations: 7.938 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.4594, allocations: 100.5 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4594, allocations: 4 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002409/0.4596, allocations: 15.89 kB / 1.358 GB, free: 2.957 MB / 1.045 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.0005891/0.4602, allocations: 0.689 MB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.4603, allocations: 23.98 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4603, allocations: 0 / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.4604, allocations: 15.98 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4606, allocations: 4.156 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.4621, allocations: 1.33 MB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4624, allocations: 0.6807 MB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.4625, allocations: 3.984 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.4625, allocations: 19.44 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.4625, allocations: 0 / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04613/0.5086, allocations: 1.755 MB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.24, allocations: 6.25 kB / 1.362 GB, free: 14.43 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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] "Error: Could not read variable splice.x in file Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.507013483000264]