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.001313/0.001313, allocations: 103 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.001382/0.001382, allocations: 212.9 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.346/3.346, allocations: 0.49 GB / 0.7916 GB, free: 33.04 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.002073/0.002073, allocations: 67.8 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002925/0.386, allocations: 1.525 MB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3874, allocations: 0.7517 MB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.3874, allocations: 0 / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.3875, allocations: 3.938 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.3875, allocations: 7.875 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.388, allocations: 99.66 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3881, allocations: 39.86 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3882, allocations: 20.19 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.3883, allocations: 15.94 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.3884, allocations: 15.92 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3884, allocations: 4 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.3886, allocations: 123.9 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3886, allocations: 3.938 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.3887, allocations: 23.86 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3889, allocations: 95.69 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3889, allocations: 4 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3889, allocations: 4 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3889, allocations: 0 / 1.323 GB, free: 0.6133 MB / 1.014 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.0005191/0.3894, allocations: 375 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3895, allocations: 11.98 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.3895, allocations: 30.75 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3897, allocations: 16.88 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3899, allocations: 180.3 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3899, allocations: 4.375 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3899, allocations: 384 / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3901, allocations: 65.78 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3901, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3901, allocations: 3.938 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3901, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3902, allocations: 27.98 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3906, allocations: 284.8 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.3907, allocations: 34.5 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.3908, allocations: 8.922 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/0.3914, allocations: 0.5661 MB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3914, allocations: 38.5 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3914, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.3917, allocations: 65.67 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3918, allocations: 51.41 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3919, allocations: 125.1 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3919, allocations: 25.7 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.3919, allocations: 88.12 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.392, allocations: 15.95 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.392, allocations: 17.72 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3921, allocations: 322.8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.3922, allocations: 8 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.3922, allocations: 11.98 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.3923, allocations: 24.84 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3923, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001317/0.3924, allocations: 57.7 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3924, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3925, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3925, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.3925, allocations: 15.86 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3925, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.3926, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3926, allocations: 7.938 kB / 1.326 GB, free: 13.79 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 8.628e-05/0.3927, allocations: 113.9 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.3927, allocations: 7.953 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.3929, allocations: 57.2 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3929, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3929, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3929, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3931, allocations: 169.6 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3931, allocations: 0 / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.3931, allocations: 7.984 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3931, allocations: 8.031 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3931, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3931, allocations: 3.938 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3931, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3933, allocations: 159.4 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.3934, allocations: 77.11 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3934, allocations: 0 / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.3934, allocations: 8.031 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.3935, allocations: 0 / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3935, allocations: 3.984 kB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.3935, allocations: 103.2 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3935, allocations: 3.938 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000243/0.3938, allocations: 15.94 kB / 1.327 GB, free: 12.96 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.0005997/0.3944, allocations: 0.7007 MB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3945, allocations: 19.98 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3945, allocations: 0 / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.3946, allocations: 15.98 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.3948, allocations: 4 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3963, allocations: 1.332 MB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3967, allocations: 0.6807 MB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.3967, allocations: 160 / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.3967, allocations: 23.42 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3967, allocations: 0 / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4222, allocations: 1.651 MB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.394, allocations: 12.73 kB / 1.331 GB, free: 8.469 MB / 1.029 GB " [Timeout remaining time 292] (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: 15.500424737110734]