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.005175/0.005175, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.001206/0.001206, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.762/2.762, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3305, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002861/0.3334, allocations: 1.505 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3347, allocations: 0.6436 MB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.3348, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.3349, allocations: 3.938 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.3349, allocations: 3.938 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.3354, allocations: 79.73 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3355, allocations: 35.86 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3356, allocations: 23.97 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.3357, allocations: 11.94 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3358, allocations: 19.92 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3358, allocations: 0 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.3361, allocations: 103.9 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.3361, allocations: 7.938 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.3361, allocations: 11.94 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3364, allocations: 91.92 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3364, allocations: 0 / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3364, allocations: 4 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3364, allocations: 0 / 1.169 GB, free: 4.73 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.0005654/0.337, allocations: 367.2 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.337, allocations: 8.031 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.3371, allocations: 34.69 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3371, allocations: 8.891 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3373, allocations: 176.2 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3373, allocations: 4.375 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3373, allocations: 4.375 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3375, allocations: 61.8 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3376, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3376, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3376, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/0.3377, allocations: 27.97 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.3381, allocations: 280.7 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.3382, allocations: 34.52 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.3382, allocations: 20.91 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.3388, allocations: 0.5544 MB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3388, allocations: 38.55 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3388, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000264/0.3391, allocations: 69.58 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3391, allocations: 51.41 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.3392, allocations: 125.8 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3392, allocations: 25.7 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.3393, allocations: 88.14 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3393, allocations: 3.953 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.3394, allocations: 17.7 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3395, allocations: 326.9 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.3395, allocations: 7.984 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.3396, allocations: 8 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.3396, allocations: 32.78 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3397, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.3398, allocations: 53.64 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3398, allocations: 8.094 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3398, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3398, allocations: 7.984 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.3399, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3399, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.34, allocations: 3.938 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.34, allocations: 7.938 kB / 1.171 GB, free: 1.945 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 7.963e-05/0.3401, allocations: 113.8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.3401, allocations: 7.953 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.3403, allocations: 65.14 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3403, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3403, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3403, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.3405, allocations: 173.5 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3405, allocations: 0 / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.3406, allocations: 7.938 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3406, allocations: 0 / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3406, allocations: 8 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3406, allocations: 4.031 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3406, allocations: 0 / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3408, allocations: 155.4 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.3408, allocations: 85.06 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3408, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.3409, allocations: 3.984 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.341, allocations: 8.031 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.341, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.341, allocations: 103.2 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002432/0.3413, allocations: 8 kB / 1.172 GB, free: 1.113 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.0004708/0.3418, allocations: 0.7008 MB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3419, allocations: 27.92 kB / 1.172 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3419, allocations: 0 / 1.172 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.342, allocations: 15.98 kB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3422, allocations: 0.7656 kB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3436, allocations: 1.305 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3439, allocations: 0.6884 MB / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.3439, allocations: 7.859 kB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.344, allocations: 11.44 kB / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.344, allocations: 0 / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.3621, allocations: 1.506 MB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.114, allocations: 6.281 kB / 1.176 GB, free: 12.78 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