Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_11_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.001415/0.001415, allocations: 104 kB / 15.6 MB, free: 148 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.001453/0.001453, allocations: 192.7 kB / 16.53 MB, free: 6.625 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 62.64 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2663, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001529/0.2678, allocations: 0.5877 MB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2693, allocations: 1.262 MB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-06/0.2693, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.355e-06/0.2694, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-06/0.2694, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2696, allocations: 71.73 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 1.701e-05/0.2697, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.26e-05/0.2697, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-06/0.2697, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.576e-05/0.2697, allocations: 3.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-06/0.2697, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.2699, allocations: 103.8 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-06/0.2699, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.018e-05/0.27, allocations: 3.984 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.2701, allocations: 51.94 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.2701, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2701, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.354e-06/0.2701, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 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.0002519/0.2703, allocations: 323.6 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.583e-05/0.2704, allocations: 8.031 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.2704, allocations: 30.75 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.442e-05/0.2704, allocations: 0.9375 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.2705, allocations: 160.4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2705, allocations: 8.375 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-06/0.2705, allocations: 384 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.115e-05/0.2706, allocations: 29.83 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.2706, allocations: 7.938 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-06/0.2706, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2706, allocations: 3.984 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.253e-05/0.2706, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.2708, allocations: 145.6 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.863e-05/0.2708, allocations: 22.61 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.2708, allocations: 4.859 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/0.2713, allocations: 0.5623 MB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2714, allocations: 34.5 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2714, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 8.462e-05/0.2715, allocations: 37.64 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2715, allocations: 51.41 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.224e-05/0.2715, allocations: 93.97 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2716, allocations: 29.7 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.2716, allocations: 84.08 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.2716, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.2716, allocations: 13.72 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2718, allocations: 310.8 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-06/0.2718, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.2718, allocations: 8 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.2718, allocations: 12.86 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2718, allocations: 0 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.234e-05/0.2719, allocations: 37.69 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.2719, allocations: 7.938 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.2719, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.2719, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.779e-05/0.2719, allocations: 8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.2719, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.272, allocations: 3.906 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-06/0.272, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 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.298e-05/0.272, allocations: 113.9 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.2721, allocations: 3.938 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.2721, allocations: 45.03 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2721, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2721, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-06/0.2722, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.2722, allocations: 145.7 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2723, allocations: 4.031 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.2723, allocations: 7.969 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2723, allocations: 3.938 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-06/0.2723, allocations: 3.938 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2723, allocations: 4 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2723, allocations: 0 / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.045e-05/0.2724, allocations: 57.08 kB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.2724, allocations: 88.97 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.2724, allocations: 8.031 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.2724, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-06/0.2725, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.2725, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.2725, allocations: 75.28 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2725, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001702/0.2727, allocations: 12 kB / 1.069 GB, free: 9.074 MB / 0.8262 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.0003731/0.2731, allocations: 0.6007 MB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.106e-05/0.2731, allocations: 11.94 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.2731, allocations: 3.938 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.2731, allocations: 4 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.701e-05/0.2732, allocations: 2.953 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.2734, allocations: 114.7 kB / 1.069 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.2737, allocations: 0.669 MB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.2737, allocations: 0 / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.2738, allocations: 15.44 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2738, allocations: 0 / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.035/1.309, allocations: 1.007 MB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.43, allocations: 14.03 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches