Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_10_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.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001333/0.001333, allocations: 193.9 kB / 16.14 MB, free: 6.656 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5448, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002492/0.5473, allocations: 1.566 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.5483, allocations: 0.6591 MB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.5483, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.5484, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.5485, allocations: 7.922 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.5487, allocations: 59.88 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.5488, allocations: 31.86 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.5489, allocations: 16 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.549, allocations: 15.92 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.549, allocations: 27.84 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.549, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.5492, allocations: 91.91 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.5492, allocations: 8 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.5492, allocations: 27.84 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.5494, allocations: 78.09 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5494, allocations: 4 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5494, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.5494, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 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.0003756/0.5498, allocations: 355.4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5498, allocations: 11.97 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.5499, allocations: 42.73 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.5499, allocations: 4.844 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.55, allocations: 172.3 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.55, allocations: 384 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.55, allocations: 8.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.5502, allocations: 61.73 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.5502, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.5502, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5502, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.5503, allocations: 23.98 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.5506, allocations: 284.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.5507, allocations: 34.56 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.5508, allocations: 12.92 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.5512, allocations: 0.5622 MB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.5512, allocations: 34.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5512, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002202/0.5514, allocations: 69.52 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.5515, allocations: 55.41 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.5516, allocations: 121.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.5516, allocations: 25.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.5516, allocations: 88.12 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.5516, allocations: 7.906 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.5517, allocations: 17.84 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.5518, allocations: 318.8 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.5518, allocations: 11.98 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.5519, allocations: 8 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.5519, allocations: 28.78 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5519, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.5521, allocations: 61.64 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5521, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.5521, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.5521, allocations: 3.984 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.5522, allocations: 8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5522, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.5522, allocations: 7.922 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.5522, allocations: 7.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 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 6.134e-05/0.5523, allocations: 110.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.5523, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.5525, allocations: 69.08 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5525, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5525, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.5525, allocations: 3.938 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.5527, allocations: 169.6 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5527, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.5527, allocations: 11.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.5528, allocations: 4.031 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.5528, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5528, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5528, allocations: 3.984 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.5529, allocations: 155.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.553, allocations: 89 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.553, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.5531, allocations: 8.031 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.5531, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.5531, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.5531, allocations: 99.2 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5532, allocations: 0 / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002285/0.5534, allocations: 12 kB / 1.022 GB, free: 12.56 MB / 0.7794 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.0003896/0.5538, allocations: 0.6852 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.5539, allocations: 31.91 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5539, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.554, allocations: 12 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.5542, allocations: 3.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.5553, allocations: 1.319 MB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.5555, allocations: 0.6887 MB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.5555, allocations: 0 / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.5555, allocations: 15.44 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5555, allocations: 4 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.376/1.932, allocations: 1.322 MB / 1.026 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.932, allocations: 194.3 kB / 1.026 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/4.116, allocations: 8.062 kB / 1.026 GB, free: 8.16 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches