Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.007371/0.007371, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.002034/0.002034, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.212/2.212, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8351, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001883/0.837, allocations: 0.5801 MB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.8387, allocations: 1.254 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.8387, allocations: 1.094 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.8388, allocations: 4 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-06/0.8388, allocations: 0 / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.8392, allocations: 68.78 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.8393, allocations: 5.969 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.8393, allocations: 6.078 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.8393, allocations: 1.312 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.8394, allocations: 1.344 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.8394, allocations: 0 / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.8396, allocations: 96.69 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.8397, allocations: 5.125 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.8397, allocations: 0 / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.8398, allocations: 53.16 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8399, allocations: 1.125 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8399, allocations: 0 / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8399, allocations: 3.938 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002768/0.8402, allocations: 329.3 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8402, allocations: 10.59 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.8402, allocations: 30.75 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.8403, allocations: 1.594 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.8403, allocations: 169.8 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.8404, allocations: 0.9844 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.8404, allocations: 1.438 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.8405, allocations: 33.27 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8405, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.8405, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8405, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.8405, allocations: 6.625 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.8407, allocations: 148.6 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.8407, allocations: 24.67 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.8407, allocations: 6.828 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/0.8412, allocations: 0.5621 MB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.8412, allocations: 40.28 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.8412, allocations: 4 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.8414, allocations: 32 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.8414, allocations: 52.72 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.058e-05/0.8414, allocations: 90.38 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.8415, allocations: 25.7 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/0.8415, allocations: 85.39 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.8415, allocations: 4.547 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.8415, allocations: 12.94 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.8416, allocations: 315.5 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.8416, allocations: 1.156 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.8416, allocations: 1.125 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.8417, allocations: 8.844 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8417, allocations: 0 / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.022e-05/0.8417, allocations: 36.56 kB / 1.091 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8417, allocations: 13.19 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8418, allocations: 1.094 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8418, allocations: 8.547 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.8418, allocations: 2.25 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.8418, allocations: 4.5 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.8419, allocations: 0.875 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.8419, allocations: 1.781 kB / 1.092 GB, free: 1.867 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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 5.287e-05/0.8419, allocations: 107.6 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-06/0.8419, allocations: 7.844 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8421, allocations: 47.31 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8421, allocations: 0.9375 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8421, allocations: 0 / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.8421, allocations: 1.391 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.465e-05/0.8421, allocations: 144 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8422, allocations: 0.5625 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.8422, allocations: 2.766 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8422, allocations: 4.938 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.8422, allocations: 0 / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8422, allocations: 1 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8422, allocations: 4.641 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.055e-05/0.8423, allocations: 61.03 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.8423, allocations: 82.73 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.8423, allocations: 1.609 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/0.8423, allocations: 0 / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.8424, allocations: 1.688 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.8424, allocations: 0 / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.793e-05/0.8424, allocations: 80.38 kB / 1.092 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8424, allocations: 0 / 1.092 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002229/0.8426, allocations: 9.938 kB / 1.092 GB, free: 1.258 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.000315/0.8429, allocations: 0.6028 MB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.843, allocations: 8.688 kB / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.843, allocations: 0 / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.8431, allocations: 2.953 kB / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.8432, allocations: 5.344 kB / 1.093 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.8435, allocations: 105 kB / 1.093 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.8438, allocations: 0.671 MB / 1.093 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.8438, allocations: 5.672 kB / 1.093 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.8438, allocations: 12.5 kB / 1.093 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8438, allocations: 3.938 kB / 1.093 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.8622, allocations: 1.032 MB / 1.094 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/8.053, allocations: 11.58 kB / 1.094 GB, free: 15.43 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches