Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 192 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5872, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003512/0.5908, allocations: 1.553 MB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.5922, allocations: 0.6441 MB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.5923, allocations: 1.562 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.5924, allocations: 3.938 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.5925, allocations: 5.375 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.593, allocations: 65.58 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.563e-05/0.593, allocations: 35.36 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.5931, allocations: 14.47 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.5932, allocations: 21.86 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.5933, allocations: 21.31 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.5933, allocations: 2.719 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.5935, allocations: 92.5 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.5936, allocations: 17.19 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.5936, allocations: 15.94 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.5938, allocations: 81.69 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5938, allocations: 4 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5939, allocations: 5.391 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5939, allocations: 0 / 0.9517 GB, free: 7.184 MB / 0.7169 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.0004155/0.5943, allocations: 365.1 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5944, allocations: 9.75 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.5944, allocations: 31.88 kB / 0.9521 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.5944, allocations: 8.281 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.5945, allocations: 169.5 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5946, allocations: 6.875 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.5946, allocations: 5.5 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.5948, allocations: 67.11 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5948, allocations: 0 / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.5948, allocations: 0 / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5948, allocations: 1.219 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.5949, allocations: 23.73 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.5952, allocations: 287.3 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.5953, allocations: 36.25 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.5954, allocations: 18.41 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.5958, allocations: 0.5539 MB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5958, allocations: 35.69 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.5958, allocations: 3.938 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002484/0.5961, allocations: 71.64 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.5961, allocations: 52.94 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.5962, allocations: 116.9 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.5962, allocations: 30.69 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.5962, allocations: 90.3 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.5962, allocations: 5.125 kB / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.5963, allocations: 16.06 kB / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.5963, allocations: 323.9 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.5964, allocations: 6.625 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.5964, allocations: 13.36 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.5965, allocations: 24.81 kB / 0.954 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5965, allocations: 1.062 kB / 0.954 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.5966, allocations: 58.53 kB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5967, allocations: 6.312 kB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5967, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5967, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.5968, allocations: 8.984 kB / 0.9541 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5968, allocations: 0 / 0.9541 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.5968, allocations: 10.34 kB / 0.9541 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5968, allocations: 5.219 kB / 0.9541 GB, free: 4.617 MB / 0.7169 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 4.713e-05/0.5969, allocations: 115.1 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.5969, allocations: 2.5 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.5971, allocations: 62.64 kB / 0.9543 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5971, allocations: 3.938 kB / 0.9543 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5971, allocations: 1.562 kB / 0.9543 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5971, allocations: 0 / 0.9543 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.5972, allocations: 164.5 kB / 0.9544 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5972, allocations: 1.5 kB / 0.9544 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.5973, allocations: 8.109 kB / 0.9545 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5973, allocations: 4.031 kB / 0.9545 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.5973, allocations: 1.094 kB / 0.9545 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.5973, allocations: 3.938 kB / 0.9545 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5973, allocations: 3.938 kB / 0.9545 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.5975, allocations: 158.1 kB / 0.9546 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.5975, allocations: 78.05 kB / 0.9547 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5975, allocations: 0.9062 kB / 0.9547 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.5976, allocations: 6 kB / 0.9547 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.5976, allocations: 8.906 kB / 0.9547 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.5976, allocations: 5.531 kB / 0.9547 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.5977, allocations: 102 kB / 0.9548 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5977, allocations: 3.938 kB / 0.9548 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002302/0.5979, allocations: 8.938 kB / 0.9548 GB, free: 3.863 MB / 0.7169 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.0003113/0.5982, allocations: 0.6935 MB / 0.9555 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.5984, allocations: 22.55 kB / 0.9555 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5984, allocations: 0 / 0.9555 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.5984, allocations: 18.95 kB / 0.9555 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.5987, allocations: 3.609 kB / 0.9555 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.5997, allocations: 1.309 MB / 0.9568 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.5998, allocations: 0.6846 MB / 0.9575 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.5998, allocations: 2.5 kB / 0.9575 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.5999, allocations: 20.58 kB / 0.9575 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.5999, allocations: 4 kB / 0.9575 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.611, allocations: 1.373 MB / 0.9589 GB, free: 488 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.6111, allocations: 184.3 kB / 0.959 GB, free: 228 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.21, allocations: 8 kB / 0.959 GB, free: 220 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches