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.005199/0.005199, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.00132/0.00132, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.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.745/2.745, allocations: 437 MB / 0.7105 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 68.12 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2943, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002522/0.2968, allocations: 1.498 MB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2979, allocations: 0.6436 MB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.298, allocations: 3.938 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.298, allocations: 3.938 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.2981, allocations: 7.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.2984, allocations: 79.72 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.2985, allocations: 35.92 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.2986, allocations: 11.98 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.2987, allocations: 15.94 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.2987, allocations: 19.91 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2988, allocations: 11.94 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.299, allocations: 95.91 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.299, allocations: 7.922 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.299, allocations: 19.92 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2992, allocations: 87.92 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2992, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2992, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2992, allocations: 0 / 1.169 GB, free: 4.711 MB / 0.92 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.0004591/0.2997, allocations: 363.2 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2997, allocations: 8.031 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.2998, allocations: 42.75 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.2998, allocations: 4.891 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3, allocations: 172.3 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3, allocations: 384 / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3, allocations: 8.312 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3001, allocations: 53.81 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3002, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.3002, allocations: 3.938 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3002, allocations: 4 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.3003, allocations: 27.98 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.3007, allocations: 288.7 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.3008, allocations: 26.58 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.3008, allocations: 16.91 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.3014, allocations: 0.5622 MB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3014, allocations: 34.56 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3014, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002545/0.3017, allocations: 69.56 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3017, allocations: 51.41 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3018, allocations: 125.9 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3019, allocations: 33.7 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.302, allocations: 88.14 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.302, allocations: 3.953 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.302, allocations: 9.719 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3022, allocations: 326.8 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.3022, allocations: 4 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.3023, allocations: 15.98 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.3024, allocations: 32.91 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3024, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001319/0.3025, allocations: 57.58 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3025, allocations: 10.34 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3025, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3026, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.3026, allocations: 7.984 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-06/0.3026, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.3027, allocations: 11.97 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3027, allocations: 3.938 kB / 1.171 GB, free: 1.922 MB / 0.92 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.557e-05/0.3028, allocations: 109.8 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3028, allocations: 7.953 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.303, allocations: 65.14 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.303, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.303, allocations: 4 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.303, allocations: 8.016 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3032, allocations: 161.6 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3032, allocations: 4 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.3033, allocations: 8 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3033, allocations: 0 / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.3033, allocations: 3.938 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3033, allocations: 0 / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3033, allocations: 0 / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3035, allocations: 159.4 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3036, allocations: 81.06 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3036, allocations: 3.984 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3037, allocations: 8 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.3037, allocations: 3.984 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3037, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.3038, allocations: 103.1 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3038, allocations: 0 / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002374/0.304, allocations: 8 kB / 1.172 GB, free: 1.094 MB / 0.92 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.0005543/0.3046, allocations: 0.6929 MB / 1.172 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3047, allocations: 27.98 kB / 1.172 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3048, allocations: 4.094 kB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.3048, allocations: 19.92 kB / 1.172 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.305, allocations: 0 / 1.172 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3065, allocations: 1.308 MB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3068, allocations: 0.6846 MB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.3068, allocations: 7.859 kB / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.3069, allocations: 15.44 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3069, allocations: 0 / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3287, allocations: 1.505 MB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.499, allocations: 7.875 kB / 1.176 GB, free: 12.76 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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