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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005658/0.005658, allocations: 102 kB / 15.73 MB, free: 6.051 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.001263/0.001263, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 71.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.969/0.9705, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002981/0.9736, allocations: 1.491 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.9748, allocations: 0.6538 MB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.9749, allocations: 0 / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.9749, allocations: 7.875 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.975, allocations: 11.88 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.9754, allocations: 75.72 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.988e-05/0.9755, allocations: 39.91 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.9757, allocations: 16 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.9758, allocations: 15.92 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.9758, allocations: 15.92 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.9759, allocations: 4 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.9761, allocations: 95.89 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.9761, allocations: 11.94 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.9762, allocations: 27.8 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.9764, allocations: 82.08 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9764, allocations: 0 / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9764, allocations: 4 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9764, allocations: 0 / 1.169 GB, free: 1.211 MB / 0.8887 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.0004705/0.9769, allocations: 363.3 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.9769, allocations: 12.92 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.977, allocations: 34.73 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.977, allocations: 4.938 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.9771, allocations: 168.2 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.9772, allocations: 8.375 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.9772, allocations: 384 / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.9774, allocations: 69.73 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9774, allocations: 3.938 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.9774, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9774, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.9775, allocations: 23.98 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.9779, allocations: 272.8 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.978, allocations: 42.5 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.9781, allocations: 12.92 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.9786, allocations: 0.5623 MB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.9786, allocations: 30.56 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.9787, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002591/0.9789, allocations: 69.67 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.979, allocations: 55.34 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.9791, allocations: 121.8 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.9791, allocations: 25.7 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.9791, allocations: 96.12 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.9792, allocations: 3.906 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.9792, allocations: 13.72 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9793, allocations: 322.9 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.9794, allocations: 11.98 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.9794, allocations: 11.94 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.9795, allocations: 24.84 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9795, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001253/0.9796, allocations: 61.58 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9797, allocations: 8.094 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9797, allocations: 7.922 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9797, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.9798, allocations: 4 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.9798, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.9798, allocations: 11.92 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.9799, allocations: 3.938 kB / 1.171 GB, free: 14.43 MB / 0.9044 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 7.81e-05/0.9799, allocations: 113.8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.98, allocations: 7.891 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.9801, allocations: 69.2 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9802, allocations: 3.938 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9802, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9802, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.9803, allocations: 165.6 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9804, allocations: 0 / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.9804, allocations: 11.92 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9804, allocations: 4 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.9804, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9804, allocations: 4.031 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9804, allocations: 4 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.9806, allocations: 147.5 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.9807, allocations: 85 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.9807, allocations: 4 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.9808, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.9808, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.9808, allocations: 8.031 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.9809, allocations: 99.2 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9809, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002387/0.9811, allocations: 12 kB / 1.172 GB, free: 13.6 MB / 0.9044 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.0004833/0.9816, allocations: 0.6968 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.9818, allocations: 23.97 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9818, allocations: 0 / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.9818, allocations: 15.94 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.9821, allocations: 6.5 kB / 1.172 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.9833, allocations: 1.312 MB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.9836, allocations: 0.6807 MB / 1.174 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.9836, allocations: 7.859 kB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.9837, allocations: 15.42 kB / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of SimCode: time 1.302e-06/0.9837, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/1.003, allocations: 1.497 MB / 1.176 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.551, allocations: 6.75 kB / 1.176 GB, free: 9.277 MB / 0.9044 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