Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_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.004446/0.004446, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001266/0.001266, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 66 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2757, allocations: 162.2 MB / 1.241 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001592/0.2773, allocations: 0.5991 MB / 1.242 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2788, allocations: 1.247 MB / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.2788, allocations: 0 / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.2789, allocations: 0 / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.2789, allocations: 0 / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.2792, allocations: 67.75 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.2792, allocations: 11.98 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.2793, allocations: 3.984 kB / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.2793, allocations: 0 / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.2793, allocations: 0 / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2794, allocations: 4 kB / 1.243 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.2796, allocations: 95.83 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.2796, allocations: 0 / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.2796, allocations: 4 kB / 1.243 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2798, allocations: 56.09 kB / 1.244 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2798, allocations: 4 kB / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2798, allocations: 0 / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2798, allocations: 0 / 1.244 GB, free: 7.137 MB / 0.9669 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.0003056/0.2801, allocations: 327.4 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2801, allocations: 12.03 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.2802, allocations: 30.75 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.2802, allocations: 4.922 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2803, allocations: 160.4 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.2803, allocations: 384 / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-06/0.2803, allocations: 384 / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.066e-05/0.2804, allocations: 41.77 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2804, allocations: 0 / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.2804, allocations: 0 / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.2805, allocations: 0 / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.2805, allocations: 4 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2806, allocations: 149.7 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.2807, allocations: 14.58 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.2807, allocations: 12.95 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/0.2813, allocations: 0.5622 MB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2813, allocations: 38.48 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2813, allocations: 3.938 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.2815, allocations: 37.66 kB / 1.245 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2815, allocations: 59.47 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.2815, allocations: 89.86 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2816, allocations: 25.7 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.2816, allocations: 80.14 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.2816, allocations: 4 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.2817, allocations: 17.7 kB / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2818, allocations: 310.8 kB / 1.245 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.2818, allocations: 0 / 1.245 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.2818, allocations: 4 kB / 1.245 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.2819, allocations: 12.8 kB / 1.245 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2819, allocations: 3.938 kB / 1.245 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.726e-05/0.2819, allocations: 33.7 kB / 1.245 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2819, allocations: 11.94 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.282, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.282, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.282, allocations: 3.984 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.282, allocations: 4 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.282, allocations: 8.094 kB / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.282, allocations: 0 / 1.246 GB, free: 4.738 MB / 0.9669 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 6.742e-05/0.2821, allocations: 106.4 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.2821, allocations: 3.938 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.2822, allocations: 44.75 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2822, allocations: 0 / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2822, allocations: 0 / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2823, allocations: 4.031 kB / 1.246 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2824, allocations: 145.7 kB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2824, allocations: 0 / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.2824, allocations: 4 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2824, allocations: 3.938 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.2824, allocations: 0 / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2824, allocations: 0 / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2824, allocations: 3.984 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.2825, allocations: 65.08 kB / 1.246 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.2825, allocations: 81.05 kB / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.2826, allocations: 0 / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.2826, allocations: 0 / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.2826, allocations: 7.984 kB / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.2826, allocations: 0 / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.2826, allocations: 75.28 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2826, allocations: 0 / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001913/0.2828, allocations: 7.938 kB / 1.246 GB, free: 4.098 MB / 0.9669 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.000408/0.2832, allocations: 0.6085 MB / 1.247 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.613e-05/0.2833, allocations: 7.938 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2833, allocations: 0 / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.2833, allocations: 0 / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.2835, allocations: 12.09 kB / 1.247 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.2837, allocations: 106.6 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.284, allocations: 0.6729 MB / 1.247 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.554e-05/0.284, allocations: 0 / 1.247 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.2841, allocations: 7.438 kB / 1.247 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.2841, allocations: 0 / 1.247 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.3043, allocations: 1.037 MB / 1.248 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.661, allocations: 13.5 kB / 1.248 GB, free: 1.641 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches