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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00116/0.00116, allocations: 112.5 kB / 15.73 MB, free: 76 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.001289/0.001289, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.837/2.837, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3222, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002522/0.3247, allocations: 1.5 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3258, allocations: 0.6466 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.3258, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.3259, allocations: 3.938 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.3259, allocations: 7.922 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3263, allocations: 83.67 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.3264, allocations: 31.92 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.3265, allocations: 19.98 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.3266, allocations: 15.86 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.3266, allocations: 27.86 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3266, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.3268, allocations: 103.9 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3268, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.3269, allocations: 15.88 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3271, allocations: 91.7 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3271, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3271, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3271, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 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.0004176/0.3275, allocations: 372.8 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3276, allocations: 8.031 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.3276, allocations: 34.75 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.3276, allocations: 8.891 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3277, allocations: 176.3 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3278, allocations: 4.375 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3278, allocations: 8.375 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3279, allocations: 53.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3279, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.328, allocations: 4 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.328, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3281, allocations: 27.97 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.3284, allocations: 288.7 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.3285, allocations: 30.56 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.3286, allocations: 16.92 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004687/0.3291, allocations: 0.5544 MB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3291, allocations: 38.56 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3291, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002474/0.3294, allocations: 61.62 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3294, allocations: 55.39 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.3295, allocations: 121.8 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3295, allocations: 25.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.3296, allocations: 84.14 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.3296, allocations: 12.06 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.3296, allocations: 17.72 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.3297, allocations: 314.8 kB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.3298, allocations: 15.98 kB / 1.224 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.3298, allocations: 4 kB / 1.224 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.025e-05/0.3299, allocations: 28.84 kB / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3299, allocations: 7.938 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001241/0.3301, allocations: 65.62 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3301, allocations: 4 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3301, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3301, allocations: 3.938 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3302, allocations: 8 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3302, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.3302, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3302, allocations: 7.922 kB / 1.225 GB, free: 9.32 MB / 0.9825 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.772e-05/0.3303, allocations: 114.4 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3304, allocations: 7.953 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.3305, allocations: 65.14 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3305, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3306, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3306, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3307, allocations: 169.6 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3307, allocations: 0 / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.3308, allocations: 4 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3308, allocations: 4.031 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3308, allocations: 7.984 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3308, allocations: 4 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3308, allocations: 0 / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.331, allocations: 151.4 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.331, allocations: 85.05 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3311, allocations: 3.984 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.3311, allocations: 7.969 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3312, allocations: 7.984 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3312, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.395e-05/0.3312, allocations: 103.2 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0 / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002312/0.3315, allocations: 8 kB / 1.225 GB, free: 8.488 MB / 0.9825 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.0004554/0.3319, allocations: 0.689 MB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3321, allocations: 23.92 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3321, allocations: 4 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-05/0.3322, allocations: 11.98 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3324, allocations: 4.078 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3336, allocations: 1.328 MB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3339, allocations: 0.6845 MB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.3339, allocations: 0 / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.334, allocations: 15.44 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.334, allocations: 0 / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.3508, allocations: 1.52 MB / 1.229 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.301, allocations: 0 / 1.229 GB, free: 4.152 MB / 0.9825 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