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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_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.001663/0.001663, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001792, allocations: 198.4 kB / 16.54 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 74.66 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2915, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002642/0.2941, allocations: 1.505 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2952, allocations: 0.6485 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.2953, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.2953, allocations: 3.938 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.2954, allocations: 7.922 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.2958, allocations: 79.67 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.2958, allocations: 39.86 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.2959, allocations: 19.98 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.296, allocations: 11.98 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.2961, allocations: 19.86 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2961, allocations: 4 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2963, allocations: 91.91 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.2963, allocations: 15.97 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.2964, allocations: 19.88 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2965, allocations: 88.05 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2965, allocations: 0 / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2966, allocations: 3.938 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2966, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.8262 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.0004101/0.297, allocations: 355.4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.297, allocations: 12.03 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.2971, allocations: 34.69 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.2971, allocations: 8.844 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2972, allocations: 172.2 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2972, allocations: 4.375 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.2972, allocations: 384 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2974, allocations: 61.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2974, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2974, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2974, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.2975, allocations: 35.91 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2979, allocations: 272.8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.298, allocations: 34.56 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.2981, allocations: 16.91 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.2985, allocations: 0.5544 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2986, allocations: 42.5 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2986, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.2988, allocations: 65.67 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2989, allocations: 51.41 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.2989, allocations: 125.8 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.299, allocations: 25.7 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.299, allocations: 92.14 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.299, allocations: 3.906 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2991, allocations: 13.72 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.2992, allocations: 326.9 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.2992, allocations: 4 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.2993, allocations: 15.98 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.2994, allocations: 28.78 kB / 1.068 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2994, allocations: 0 / 1.068 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.2995, allocations: 53.59 kB / 1.068 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2995, allocations: 12.09 kB / 1.068 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2995, allocations: 0 / 1.068 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2995, allocations: 0 / 1.068 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.2996, allocations: 7.984 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2996, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.2997, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2997, allocations: 7.875 kB / 1.069 GB, free: 9.145 MB / 0.8262 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.346e-05/0.2997, allocations: 113.8 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2998, allocations: 3.906 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.2999, allocations: 73.08 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3, allocations: 3.984 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3001, allocations: 169.6 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3001, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3002, allocations: 8 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3002, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3002, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3002, allocations: 4.031 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3002, allocations: 3.984 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3004, allocations: 159.4 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3004, allocations: 81.02 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3005, allocations: 4 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.3005, allocations: 0 / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3006, allocations: 12.02 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3006, allocations: 0 / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.3006, allocations: 99.64 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3006, allocations: 0 / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.3009, allocations: 16 kB / 1.069 GB, free: 8.305 MB / 0.8262 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.0004361/0.3013, allocations: 0.6857 MB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3015, allocations: 23.98 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3015, allocations: 0 / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.3015, allocations: 15.98 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3017, allocations: 336 / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3029, allocations: 1.323 MB / 1.071 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.3031, allocations: 0.6807 MB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.3032, allocations: 0 / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.3032, allocations: 19.42 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3032, allocations: 0 / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.3204, allocations: 1.482 MB / 1.073 GB, free: 4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.518, allocations: 1.562 kB / 1.073 GB, free: 4 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv","/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) Reference file matches