Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001476/0.001476, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001503/0.001503, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7715 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_Splice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="cs",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.002027/0.002027, allocations: 59.11 kB / 1.118 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 169.9 MB / 1.284 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003145/0.3671, allocations: 1.541 MB / 1.286 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3685, allocations: 0.7492 MB / 1.286 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.3685, allocations: 0 / 1.286 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3685, allocations: 7.922 kB / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.3686, allocations: 7.938 kB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.369, allocations: 95.66 kB / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3691, allocations: 47.78 kB / 1.287 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.3692, allocations: 12.22 kB / 1.287 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3693, allocations: 19.92 kB / 1.287 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.3693, allocations: 19.91 kB / 1.287 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3693, allocations: 4 kB / 1.287 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.3696, allocations: 119.9 kB / 1.287 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3696, allocations: 11.92 kB / 1.287 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3696, allocations: 19.88 kB / 1.287 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3698, allocations: 91.77 kB / 1.287 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3698, allocations: 3.938 kB / 1.287 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3698, allocations: 4 kB / 1.287 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3698, allocations: 0 / 1.287 GB, free: 1.023 MB / 0.9825 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.0004565/0.3703, allocations: 294 kB / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3703, allocations: 11.97 kB / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.567e-05/0.3703, allocations: 192 / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.3704, allocations: 38.75 kB / 1.287 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.3705, allocations: 16.92 kB / 1.287 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3707, allocations: 126.4 kB / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.3707, allocations: 384 / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.3707, allocations: 4.375 kB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3709, allocations: 57.61 kB / 1.287 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.3709, allocations: 0 / 1.287 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3709, allocations: 0 / 1.287 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3709, allocations: 4 kB / 1.287 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.371, allocations: 27.98 kB / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.3714, allocations: 251.8 kB / 1.288 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.3715, allocations: 30.56 kB / 1.288 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.3716, allocations: 12.92 kB / 1.288 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3718, allocations: 39.97 kB / 1.288 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.3719, allocations: 34.55 kB / 1.288 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3719, allocations: 3.938 kB / 1.288 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002485/0.3721, allocations: 61.64 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3721, allocations: 55.41 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3723, allocations: 122.1 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.3723, allocations: 29.83 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.3723, allocations: 92.14 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3723, allocations: 11.95 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3724, allocations: 17.7 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3725, allocations: 318.8 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.3726, allocations: 7.984 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.3726, allocations: 12 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.3727, allocations: 32.84 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3727, allocations: 0 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.3728, allocations: 61.61 kB / 1.289 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3728, allocations: 8 kB / 1.289 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3728, allocations: 0 / 1.289 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3728, allocations: 0 / 1.289 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.3729, allocations: 7.938 kB / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.3729, allocations: 0 / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.3729, allocations: 15.91 kB / 1.289 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3729, allocations: 3.984 kB / 1.289 GB, free: 15.05 MB / 0.9981 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.919e-05/0.373, allocations: 117.8 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.3731, allocations: 7.953 kB / 1.289 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.3732, allocations: 65.23 kB / 1.289 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3732, allocations: 4 kB / 1.289 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3732, allocations: 0 / 1.289 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3732, allocations: 3.938 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3734, allocations: 136.8 kB / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3734, allocations: 0 / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.3735, allocations: 4 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3735, allocations: 0 / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3735, allocations: 3.984 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3735, allocations: 0 / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3735, allocations: 4 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3737, allocations: 155.4 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.3737, allocations: 7.953 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3737, allocations: 3.984 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.3737, allocations: 0 / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.3738, allocations: 8 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3738, allocations: 3.938 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.3738, allocations: 95.27 kB / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3738, allocations: 0 / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002341/0.3741, allocations: 15.94 kB / 1.289 GB, free: 14.36 MB / 0.9981 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.0005382/0.3746, allocations: 0.6929 MB / 1.29 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.3747, allocations: 23.92 kB / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3747, allocations: 0 / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.3748, allocations: 16.09 kB / 1.29 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.375, allocations: 18.27 kB / 1.29 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3764, allocations: 1.325 MB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3767, allocations: 0.6885 MB / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.3767, allocations: 0 / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3768, allocations: 19.44 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3768, allocations: 0 / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3993, allocations: 1.791 MB / 1.294 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 6.312 kB / 1.294 GB, free: 9.805 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.564362003002316]