Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_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.001445/0.001445, allocations: 108 kB / 15.61 MB, free: 152 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.001693/0.001694, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5739, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002266/0.5762, allocations: 1.492 MB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000849/0.5771, allocations: 0.6444 MB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.5772, allocations: 1.125 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.5772, allocations: 3.938 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.5773, allocations: 5.281 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.5776, allocations: 85.56 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.5776, allocations: 36.02 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.5777, allocations: 13.67 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.5778, allocations: 17.91 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.5779, allocations: 17.3 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.5779, allocations: 2.625 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.578, allocations: 105.3 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.5781, allocations: 9.062 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.5781, allocations: 16.25 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.5782, allocations: 93.97 kB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5783, allocations: 0 / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5783, allocations: 0 / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5783, allocations: 0 / 0.9522 GB, free: 7.242 MB / 0.7169 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.0003275/0.5786, allocations: 365.6 kB / 0.9525 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5786, allocations: 10.06 kB / 0.9525 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.481e-05/0.5787, allocations: 36.03 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.5787, allocations: 11.03 kB / 0.9526 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.496e-05/0.5788, allocations: 171.2 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.5788, allocations: 5.875 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.5788, allocations: 1.812 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.5789, allocations: 59.19 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.579, allocations: 0 / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.579, allocations: 0 / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.579, allocations: 1.125 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.5791, allocations: 27.5 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.5793, allocations: 283.5 kB / 0.9531 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.5794, allocations: 27.7 kB / 0.9531 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.5795, allocations: 18.88 kB / 0.9532 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.5798, allocations: 0.5578 MB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.5798, allocations: 39.73 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.5798, allocations: 0 / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002132/0.58, allocations: 68.09 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.5801, allocations: 52.91 kB / 0.9539 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.5801, allocations: 121 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.5802, allocations: 31.33 kB / 0.954 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.5802, allocations: 93.31 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.5802, allocations: 5.969 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.5802, allocations: 15.36 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.5803, allocations: 320.1 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.5803, allocations: 9.922 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.5804, allocations: 9.625 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.5805, allocations: 29.88 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5805, allocations: 0 / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001075/0.5806, allocations: 54.91 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5806, allocations: 5.344 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.5806, allocations: 3.984 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5806, allocations: 0.9688 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.5807, allocations: 8.359 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5807, allocations: 0 / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.5807, allocations: 14.91 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.5807, allocations: 4.719 kB / 0.9546 GB, free: 4.676 MB / 0.7169 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 4.328e-05/0.5808, allocations: 115.9 kB / 0.9547 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.5808, allocations: 2.688 kB / 0.9547 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.581, allocations: 62.14 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.581, allocations: 3.938 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.581, allocations: 5.156 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.581, allocations: 4.031 kB / 0.9547 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.5811, allocations: 164.6 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5811, allocations: 1.125 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.5812, allocations: 3.75 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5812, allocations: 1.281 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.5812, allocations: 0 / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5812, allocations: 9.219 kB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5812, allocations: 3.984 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.5813, allocations: 158 kB / 0.9551 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.5813, allocations: 78.39 kB / 0.9551 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5814, allocations: 0 / 0.9551 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.5814, allocations: 6.484 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.5815, allocations: 1.156 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.5815, allocations: 1.094 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.5815, allocations: 105.5 kB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5815, allocations: 4.969 kB / 0.9553 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002203/0.5817, allocations: 12.94 kB / 0.9553 GB, free: 3.922 MB / 0.7169 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.0002912/0.582, allocations: 0.6888 MB / 0.9559 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.5822, allocations: 21.98 kB / 0.956 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5822, allocations: 5.219 kB / 0.956 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.5822, allocations: 19.86 kB / 0.956 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5824, allocations: 3.062 kB / 0.956 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.5833, allocations: 1.294 MB / 0.9572 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.214e-05/0.5834, allocations: 0.6887 MB / 0.9579 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.5834, allocations: 5.203 kB / 0.9579 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.5835, allocations: 13.78 kB / 0.9579 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5835, allocations: 0 / 0.9579 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.6005, allocations: 1.476 MB / 0.9594 GB, free: 424 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.923, allocations: 4.844 kB / 0.9594 GB, free: 424 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches