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.001852/0.001852, allocations: 110.4 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.002213/0.002213, allocations: 218.8 kB / 22.25 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.957 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.379/3.379, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.002669/0.002669, allocations: 68.17 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4916, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003044/0.4946, allocations: 1.537 MB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4961, allocations: 0.7599 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.4961, allocations: 3.828 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.4962, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.4962, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.4967, allocations: 99.64 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.4968, allocations: 39.86 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.4969, allocations: 15.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.497, allocations: 19.94 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.4971, allocations: 19.91 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.4971, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.4973, allocations: 123.9 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.4973, allocations: 7.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.4974, allocations: 15.88 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.4976, allocations: 87.77 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4976, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4976, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4976, allocations: 7.875 kB / 1.329 GB, free: 15.19 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.0005022/0.4981, allocations: 303.7 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4981, allocations: 12.02 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.4982, allocations: 42.69 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.4983, allocations: 16.88 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.4986, allocations: 114.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.4986, allocations: 384 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4986, allocations: 8.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4988, allocations: 53.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4988, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4988, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4988, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4989, allocations: 27.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.4993, allocations: 247.9 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/0.4994, allocations: 30.56 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.4994, allocations: 20.92 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.4997, allocations: 35.95 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4997, allocations: 34.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4997, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000262/0.5, allocations: 65.62 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5, allocations: 51.41 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.5001, allocations: 127 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5002, allocations: 25.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.5002, allocations: 92.06 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.5002, allocations: 12.02 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.5003, allocations: 13.72 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5004, allocations: 322.9 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.5005, allocations: 12 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.5005, allocations: 15.92 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.5006, allocations: 28.84 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5006, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.5007, allocations: 57.58 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5007, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5007, allocations: 8.094 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5007, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.5008, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5008, allocations: 3.984 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.5009, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5009, allocations: 11.88 kB / 1.33 GB, free: 13.22 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.0001107/0.501, allocations: 110.3 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.501, allocations: 7.953 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.5012, allocations: 69.28 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5012, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5012, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5012, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.5014, allocations: 144.7 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5014, allocations: 3.984 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.5014, allocations: 7.984 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5014, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.5014, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5015, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5015, allocations: 4.031 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.5016, allocations: 163.4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.5017, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.5017, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.5017, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.5018, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5018, allocations: 8.016 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.313e-05/0.5018, allocations: 101.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.5018, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000235/0.5021, allocations: 19.92 kB / 1.331 GB, free: 12.5 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.0006007/0.5027, allocations: 0.6968 MB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.5028, allocations: 19.98 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5028, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.5029, allocations: 19.92 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.5031, allocations: 1.875 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5046, allocations: 1.326 MB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.5049, allocations: 0.6846 MB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.505, allocations: 4 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.505, allocations: 19.42 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.505, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.5346, allocations: 1.753 MB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.39, allocations: 7.062 kB / 1.335 GB, free: 7.984 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.871690367814153]