Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, 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.001627/0.001627, allocations: 213 kB / 22.25 MB, free: 4.859 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.43/3.43, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_12_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.002195/0.002195, allocations: 71.14 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4075, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.005277/0.4128, allocations: 1.509 MB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.4152, allocations: 0.6897 MB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4153, allocations: 3.938 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.4153, allocations: 4 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.189e-05/0.4154, allocations: 15.86 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.4162, allocations: 99.59 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.4163, allocations: 35.92 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.4165, allocations: 19.91 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.4166, allocations: 15.94 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.4167, allocations: 11.92 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4167, allocations: 4 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.4171, allocations: 119.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.4171, allocations: 7.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.4172, allocations: 11.94 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.4175, allocations: 103.7 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4175, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4175, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.4175, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0007785/0.4183, allocations: 294 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.4184, allocations: 12.03 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.4184, allocations: 34.75 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.4187, allocations: 16.88 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.419, allocations: 118.5 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.419, allocations: 4.375 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.419, allocations: 384 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4193, allocations: 65.73 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4193, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4193, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4193, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.4195, allocations: 27.98 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.4201, allocations: 247.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.4202, allocations: 38.5 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.4203, allocations: 16.86 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.4207, allocations: 39.95 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.4207, allocations: 34.56 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.455e-06/0.4207, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004226/0.4211, allocations: 65.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.4212, allocations: 55.41 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.4214, allocations: 122.1 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4214, allocations: 29.64 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.4216, allocations: 96.06 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4217, allocations: 3.953 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.4217, allocations: 17.72 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003734/0.4221, allocations: 318.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.4222, allocations: 8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.4222, allocations: 11.98 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4224, allocations: 32.94 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4224, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.4226, allocations: 61.58 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4226, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4226, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4226, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.4227, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4227, allocations: 3.984 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.4228, allocations: 8.031 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.4228, allocations: 3.938 kB / 1.329 GB, free: 13.76 MB / 1.029 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.000116/0.4229, allocations: 110.4 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.423, allocations: 3.953 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.4232, allocations: 69.28 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4232, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4232, allocations: 3.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4232, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4235, allocations: 136.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4235, allocations: 8.016 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.4235, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.4235, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4236, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4236, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4236, allocations: 7.922 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4238, allocations: 159.4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.4239, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4239, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.424, allocations: 8.031 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.424, allocations: 3.984 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.424, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001165/0.4242, allocations: 106.1 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4242, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004353/0.4246, allocations: 19.88 kB / 1.33 GB, free: 13.04 MB / 1.029 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.0008486/0.4254, allocations: 0.689 MB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4256, allocations: 27.95 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4256, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.4257, allocations: 15.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4261, allocations: 13.56 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.4284, allocations: 1.322 MB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4285, allocations: 67.47 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.4285, allocations: 4 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.4286, allocations: 19.42 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4286, allocations: 0 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.4686, allocations: 2.161 MB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.73, allocations: 2.031 kB / 1.334 GB, free: 8.73 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.990670875180513]