Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_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.005927/0.005927, allocations: 97.42 kB / 15.73 MB, free: 5.605 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.001342/0.001342, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 68.08 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7743, allocations: 159.1 MB / 1.22 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00279/0.7771, allocations: 1.492 MB / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.7783, allocations: 0.6507 MB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.7784, allocations: 0 / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.7784, allocations: 7.938 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.7785, allocations: 7.875 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.7788, allocations: 79.73 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.7789, allocations: 31.92 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.779, allocations: 15.97 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.615e-05/0.7791, allocations: 15.83 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.7792, allocations: 27.86 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.7792, allocations: 4 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.7794, allocations: 95.89 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.7794, allocations: 7.984 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.7795, allocations: 15.88 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.7797, allocations: 91.36 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7797, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7797, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.7797, allocations: 4 kB / 1.223 GB, free: 15.53 MB / 0.9512 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.0004751/0.7802, allocations: 363.2 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7802, allocations: 12.56 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.7803, allocations: 38.75 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.7803, allocations: 4.891 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.7805, allocations: 176.3 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.7805, allocations: 384 / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.7805, allocations: 4.375 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.7807, allocations: 53.81 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7807, allocations: 3.938 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.7807, allocations: 4 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7807, allocations: 4 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.7808, allocations: 27.97 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.7812, allocations: 284.7 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.7813, allocations: 30.52 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.7814, allocations: 16.91 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/0.7819, allocations: 0.5622 MB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.782, allocations: 30.56 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.782, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002563/0.7823, allocations: 69.61 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.7823, allocations: 55.53 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.7824, allocations: 121.8 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7825, allocations: 25.7 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.7825, allocations: 88.08 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.7825, allocations: 7.953 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.7826, allocations: 17.7 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7827, allocations: 318.8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/0.7828, allocations: 8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.7828, allocations: 15.98 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/0.7829, allocations: 24.84 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7829, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000131/0.7831, allocations: 57.64 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7831, allocations: 8 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.7831, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7831, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.7832, allocations: 19.95 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.7832, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.7833, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.7833, allocations: 3.938 kB / 1.225 GB, free: 12.75 MB / 0.9512 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 8.524e-05/0.7834, allocations: 105.8 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.7834, allocations: 11.94 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.7836, allocations: 57.22 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7836, allocations: 4.031 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7836, allocations: 3.984 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7836, allocations: 4 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.7838, allocations: 169.5 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7838, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.7839, allocations: 8 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7839, allocations: 0 / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.7839, allocations: 0 / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7839, allocations: 7.922 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.7839, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.7841, allocations: 163.4 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.7842, allocations: 77.11 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.7842, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.7843, allocations: 7.984 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.7843, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.7843, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.434e-05/0.7844, allocations: 99.2 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7844, allocations: 4.031 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002343/0.7846, allocations: 12 kB / 1.226 GB, free: 11.91 MB / 0.9512 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.0005614/0.7852, allocations: 0.6973 MB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.7854, allocations: 28.02 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7854, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.7854, allocations: 11.98 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.7857, allocations: 4 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.7871, allocations: 1.319 MB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.7874, allocations: 0.6846 MB / 1.228 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.7875, allocations: 8 kB / 1.228 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.7875, allocations: 11.44 kB / 1.228 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.7875, allocations: 0 / 1.228 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.811, allocations: 1.505 MB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/9.142, allocations: 13 kB / 1.23 GB, free: 7.574 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches