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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008181/0.008181, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.002208/0.002209, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2968, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00256/0.2994, allocations: 1.501 MB / 1.243 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3005, allocations: 0.6428 MB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.3005, allocations: 3.938 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.3006, allocations: 0 / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.3006, allocations: 11.86 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.301, allocations: 87.72 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.3011, allocations: 35.86 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.3012, allocations: 12 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.3012, allocations: 15.98 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.3013, allocations: 19.86 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3013, allocations: 4 kB / 1.244 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3015, allocations: 99.83 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.3015, allocations: 8 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.3016, allocations: 19.86 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.3018, allocations: 87.7 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3018, allocations: 0 / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3018, allocations: 0 / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3018, allocations: 4 kB / 1.244 GB, free: 7.676 MB / 0.9981 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.0004521/0.3022, allocations: 371.1 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3023, allocations: 8.031 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.3023, allocations: 34.75 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.3024, allocations: 8.891 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3025, allocations: 164.4 kB / 1.245 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3025, allocations: 384 / 1.245 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3025, allocations: 8.375 kB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3027, allocations: 57.73 kB / 1.245 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3027, allocations: 0 / 1.245 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3027, allocations: 4 kB / 1.245 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3027, allocations: 4 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.3028, allocations: 19.98 kB / 1.245 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3032, allocations: 288.7 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.3033, allocations: 38.48 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.3034, allocations: 16.92 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.304, allocations: 0.5661 MB / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.304, allocations: 30.56 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.304, allocations: 0 / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002474/0.3043, allocations: 69.62 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3043, allocations: 55.34 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3044, allocations: 117.8 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3045, allocations: 25.7 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3045, allocations: 92.25 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3045, allocations: 11.95 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3046, allocations: 9.719 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3047, allocations: 322.8 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.3048, allocations: 8 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.3048, allocations: 11.98 kB / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.3049, allocations: 32.91 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3049, allocations: 0 / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.3051, allocations: 57.58 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3051, allocations: 11.94 kB / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3051, allocations: 0 / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3051, allocations: 0 / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.3052, allocations: 7.984 kB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3052, allocations: 0 / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.3052, allocations: 4 kB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3052, allocations: 7.969 kB / 1.246 GB, free: 4.887 MB / 0.9981 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.303e-05/0.3053, allocations: 106.4 kB / 1.246 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3054, allocations: 11.95 kB / 1.246 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.3055, allocations: 61.19 kB / 1.246 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3055, allocations: 0 / 1.246 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3056, allocations: 0 / 1.246 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3056, allocations: 4 kB / 1.246 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.3058, allocations: 165.6 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3058, allocations: 11.97 kB / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.3058, allocations: 11.98 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3058, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.3058, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3058, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3058, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.306, allocations: 155.5 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.3061, allocations: 89.03 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3061, allocations: 0 / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.3062, allocations: 4 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.3062, allocations: 0 / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3062, allocations: 3.984 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.3063, allocations: 103.2 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3063, allocations: 0 / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002347/0.3065, allocations: 11.98 kB / 1.247 GB, free: 4.059 MB / 0.9981 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.0005438/0.3071, allocations: 0.6929 MB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.3072, allocations: 23.98 kB / 1.248 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3072, allocations: 0 / 1.248 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.3073, allocations: 15.97 kB / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3075, allocations: 8.828 kB / 1.248 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3089, allocations: 1.311 MB / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3092, allocations: 0.6807 MB / 1.25 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.3092, allocations: 4 kB / 1.25 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.3093, allocations: 15.42 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.3093, allocations: 0 / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5427/0.8519, allocations: 1.503 MB / 1.251 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.866, allocations: 10.06 kB / 1.251 GB, free: 14.94 MB / 0.9981 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 400 --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