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.001272/0.001272, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00142/0.00142, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.123/3.123, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_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.002272/0.002272, allocations: 71.89 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002835/1.12, allocations: 1.518 MB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001197/1.121, allocations: 0.7457 MB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/1.121, allocations: 1.125 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/1.121, allocations: 8.531 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/1.121, allocations: 13.69 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/1.121, allocations: 99.75 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/1.122, allocations: 35.33 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/1.122, allocations: 17.17 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/1.122, allocations: 17.52 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/1.122, allocations: 16.92 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/1.122, allocations: 3.594 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/1.122, allocations: 115.6 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/1.122, allocations: 11.14 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/1.122, allocations: 25.59 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/1.122, allocations: 104.1 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.122, allocations: 1.062 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.532e-06/1.122, allocations: 0 / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.122, allocations: 0 / 1.343 GB, free: 14.45 MB / 1.061 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.0004211/1.123, allocations: 381.7 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.123, allocations: 10.58 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/1.123, allocations: 192 / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.271e-05/1.123, allocations: 32.83 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/1.123, allocations: 19.84 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/1.123, allocations: 182.2 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.123, allocations: 1.688 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/1.123, allocations: 3.391 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/1.123, allocations: 60 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.123, allocations: 0.7969 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.123, allocations: 1.312 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.123, allocations: 0 / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/1.123, allocations: 28.5 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/1.124, allocations: 283.9 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/1.124, allocations: 38.42 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/1.124, allocations: 12.38 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/1.124, allocations: 0.5646 MB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/1.124, allocations: 32.66 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.124, allocations: 0 / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002631/1.125, allocations: 62.39 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/1.125, allocations: 56.34 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/1.125, allocations: 125.4 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/1.125, allocations: 25.7 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/1.125, allocations: 95.97 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/1.125, allocations: 5.969 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/1.125, allocations: 13.62 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/1.125, allocations: 323.3 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/1.125, allocations: 6.812 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/1.125, allocations: 7.5 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/1.125, allocations: 33.72 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.125, allocations: 0 / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/1.125, allocations: 57.77 kB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.125, allocations: 11.62 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.125, allocations: 5.781 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.125, allocations: 0.6094 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/1.125, allocations: 5.594 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.125, allocations: 0 / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/1.125, allocations: 9.094 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/1.125, allocations: 4.031 kB / 1.345 GB, free: 11.95 MB / 1.061 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 5.189e-05/1.125, allocations: 116.7 kB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/1.125, allocations: 5.891 kB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/1.126, allocations: 63.31 kB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/1.126, allocations: 0 / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.126, allocations: 1.062 kB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.126, allocations: 4.734 kB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/1.126, allocations: 170.2 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.126, allocations: 0 / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/1.126, allocations: 11.05 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.126, allocations: 0 / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/1.126, allocations: 0.7969 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.126, allocations: 1.438 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.126, allocations: 0 / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/1.126, allocations: 160.5 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/1.126, allocations: 79.17 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/1.126, allocations: 1.984 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/1.126, allocations: 2.078 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/1.126, allocations: 2.359 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/1.126, allocations: 4.734 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.666e-05/1.126, allocations: 99.64 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.126, allocations: 0 / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002482/1.126, allocations: 15.5 kB / 1.346 GB, free: 11.24 MB / 1.061 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.0003694/1.127, allocations: 0.6976 MB / 1.347 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001471/1.127, allocations: 23.2 kB / 1.347 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.127, allocations: 0 / 1.347 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/1.127, allocations: 21.77 kB / 1.347 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/1.127, allocations: 9.438 kB / 1.347 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.128, allocations: 1.323 MB / 1.348 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/1.128, allocations: 0.6822 MB / 1.349 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.633e-05/1.128, allocations: 3.969 kB / 1.349 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/1.128, allocations: 22.34 kB / 1.349 GB, free: 8.609 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.128, allocations: 4 kB / 1.349 GB, free: 8.605 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/1.147, allocations: 1.689 MB / 1.35 GB, free: 8.172 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/9.514, allocations: 3.656 kB / 1.35 GB, free: 8.172 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.510820085997693]