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.001342/0.001342, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001508/0.001508, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.604/1.604, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.618/3.618, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002065/0.002065, allocations: 76.33 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4235, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002867/0.4263, allocations: 1.524 MB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4277, allocations: 0.7401 MB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.4278, allocations: 0 / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.4278, allocations: 7.922 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.4278, allocations: 7.875 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.4283, allocations: 107.6 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.4284, allocations: 39.86 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.4285, allocations: 12.22 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.4286, allocations: 19.92 kB / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.4287, allocations: 19.91 kB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.4287, allocations: 4 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.4289, allocations: 115.9 kB / 1.35 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.4289, allocations: 7.938 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.4289, allocations: 19.88 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.4292, allocations: 95.69 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4292, allocations: 4 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4292, allocations: 0 / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.4292, allocations: 4 kB / 1.35 GB, free: 7.195 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.000518/0.4297, allocations: 371.1 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4297, allocations: 15.98 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.4298, allocations: 34.69 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.43, allocations: 16.88 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.4302, allocations: 184.2 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.4302, allocations: 8.375 kB / 1.351 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4302, allocations: 384 / 1.351 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.4304, allocations: 62.31 kB / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4304, allocations: 0 / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4304, allocations: 0 / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4304, allocations: 0 / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4305, allocations: 35.97 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.4309, allocations: 272.8 kB / 1.351 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.431, allocations: 42.5 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.4311, allocations: 8.922 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.4317, allocations: 0.5622 MB / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4317, allocations: 34.56 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4317, allocations: 0 / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002762/0.432, allocations: 65.67 kB / 1.352 GB, free: 5.199 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.432, allocations: 51.41 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4322, allocations: 125.1 kB / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4322, allocations: 29.7 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.4322, allocations: 92.08 kB / 1.352 GB, free: 4.879 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.4323, allocations: 12 kB / 1.352 GB, free: 4.867 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.4323, allocations: 17.84 kB / 1.352 GB, free: 4.844 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4324, allocations: 318.8 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.4325, allocations: 11.98 kB / 1.353 GB, free: 4.512 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.4325, allocations: 8 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.4326, allocations: 24.84 kB / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4326, allocations: 0 / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.4327, allocations: 65.69 kB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4327, allocations: 4 kB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4327, allocations: 0 / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4328, allocations: 3.938 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.4328, allocations: 8 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4328, allocations: 0 / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.4329, allocations: 3.984 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4329, allocations: 3.938 kB / 1.353 GB, free: 4.383 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 8.828e-05/0.433, allocations: 121.8 kB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.433, allocations: 7.953 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.4332, allocations: 57.2 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4332, allocations: 0 / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4332, allocations: 0 / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4332, allocations: 3.938 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.4334, allocations: 169.6 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4334, allocations: 0 / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.4334, allocations: 15.91 kB / 1.353 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4334, allocations: 8.031 kB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4334, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4334, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4334, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.4337, allocations: 155.4 kB / 1.353 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.4337, allocations: 81.09 kB / 1.353 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.4337, allocations: 0 / 1.353 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.4338, allocations: 8.031 kB / 1.353 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4338, allocations: 0 / 1.353 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.4338, allocations: 4 kB / 1.353 GB, free: 3.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.4339, allocations: 107.2 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4339, allocations: 0 / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000247/0.4341, allocations: 23.88 kB / 1.354 GB, free: 3.527 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.0005671/0.4347, allocations: 0.689 MB / 1.354 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.4348, allocations: 23.98 kB / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4348, allocations: 0 / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.4349, allocations: 15.98 kB / 1.354 GB, free: 2.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4351, allocations: 5.969 kB / 1.354 GB, free: 2.77 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.4365, allocations: 1.324 MB / 1.356 GB, free: 1.367 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4368, allocations: 0.6807 MB / 1.356 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.4369, allocations: 7.938 kB / 1.356 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.4369, allocations: 23.42 kB / 1.356 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.4369, allocations: 0 / 1.356 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.4649, allocations: 1.64 MB / 1.358 GB, free: 15.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.545, allocations: 8.672 kB / 1.358 GB, free: 15.05 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.1298275871668]