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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001313/0.001313, allocations: 108 kB / 15.61 MB, free: 128 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.001272/0.001272, allocations: 198 kB / 16.53 MB, free: 6.668 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.52 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2871, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001895/0.289, allocations: 0.5816 MB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2906, allocations: 1.271 MB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.2906, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.2907, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-06/0.2907, allocations: 4 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.2911, allocations: 63.75 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.477e-05/0.2911, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.2912, allocations: 7.984 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.2912, allocations: 4 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.2912, allocations: 3.938 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.2912, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.2915, allocations: 99.83 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.2915, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.2915, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2917, allocations: 55.94 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2917, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2917, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.2917, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 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.0002827/0.292, allocations: 323.6 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.292, allocations: 12.62 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.2921, allocations: 30.75 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.2921, allocations: 0.9375 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.2922, allocations: 164.4 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.2922, allocations: 4.375 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.2922, allocations: 384 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.2923, allocations: 33.83 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2923, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2923, allocations: 3.938 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2923, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.2923, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.2925, allocations: 157.6 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.2925, allocations: 18.58 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.2925, allocations: 4.859 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.2931, allocations: 0.5662 MB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2931, allocations: 34.5 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2931, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.2932, allocations: 37.64 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2933, allocations: 51.41 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.042e-05/0.2933, allocations: 93.86 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2933, allocations: 25.7 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.2934, allocations: 80.14 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2934, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2934, allocations: 13.72 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.2935, allocations: 322.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.2935, allocations: 4.125 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.2935, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.2936, allocations: 12.8 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2936, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.468e-05/0.2936, allocations: 33.7 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2937, allocations: 11.94 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2937, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2937, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.2937, allocations: 3.984 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2937, allocations: 4.094 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.2938, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2938, allocations: 8 kB / 1.057 GB, free: 3.75 MB / 0.8106 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.865e-05/0.2938, allocations: 105.8 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.2938, allocations: 3.938 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.2939, allocations: 45.03 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2939, allocations: 4.031 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.294, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.294, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.256e-05/0.294, allocations: 145.7 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2941, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.2941, allocations: 4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2941, allocations: 3.938 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.2941, allocations: 3.938 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2941, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2941, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.116e-05/0.2942, allocations: 65.03 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.2942, allocations: 88.92 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2942, allocations: 4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-06/0.2943, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.2943, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2943, allocations: 7.984 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.2943, allocations: 75.28 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2943, allocations: 0 / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001983/0.2945, allocations: 8.031 kB / 1.057 GB, free: 3.098 MB / 0.8106 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.0003558/0.2949, allocations: 0.6046 MB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.376e-05/0.295, allocations: 7.938 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.295, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.295, allocations: 8.094 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2951, allocations: 5.031 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2954, allocations: 114.6 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2956, allocations: 0.6729 MB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.2956, allocations: 7.984 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.2957, allocations: 7.438 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.2957, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.3137, allocations: 1.013 MB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.981, allocations: 8.422 kB / 1.06 GB, free: 0.6484 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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