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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007822/0.0007824, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004568/0.004569, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 14.97 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2646, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006276/0.2653, allocations: 322.9 kB / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2669, allocations: 1.248 MB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-06/0.2669, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.267, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.267, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.2673, allocations: 47.89 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.014e-05/0.2673, allocations: 4 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.2673, allocations: 0 / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.366e-05/0.2674, allocations: 3.938 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.2674, allocations: 7.984 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.2674, allocations: 0 / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.2676, allocations: 103.8 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.2677, allocations: 4 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.2677, allocations: 25.7 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2678, allocations: 51.94 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2678, allocations: 4 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2678, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.2679, allocations: 0 / 1.061 GB, free: 3.043 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.0002381/0.2681, allocations: 319.6 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2681, allocations: 11.97 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.2682, allocations: 38.69 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.726e-05/0.2682, allocations: 0.9375 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.222e-05/0.2683, allocations: 164.4 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2683, allocations: 4.359 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.2683, allocations: 384 / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.2684, allocations: 41.83 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2684, allocations: 0 / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2684, allocations: 3.938 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2684, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.2685, allocations: 11.92 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.2686, allocations: 145.7 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.421e-05/0.2686, allocations: 14.58 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.2687, allocations: 16.84 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/0.2692, allocations: 0.5584 MB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2692, allocations: 34.5 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2692, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.000116/0.2693, allocations: 45.62 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2694, allocations: 55.53 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.994e-05/0.2694, allocations: 89.86 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2694, allocations: 25.7 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.2694, allocations: 80.14 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2695, allocations: 0 / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.2695, allocations: 9.719 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.2696, allocations: 314.8 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.2696, allocations: 0 / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.2696, allocations: 4 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.2696, allocations: 20.78 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2696, allocations: 0 / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.858e-05/0.2697, allocations: 29.7 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2697, allocations: 13.5 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2697, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.2697, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.718e-05/0.2698, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2698, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.2698, allocations: 4.094 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2698, allocations: 4 kB / 1.063 GB, free: 0.6523 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.468e-05/0.2699, allocations: 105.8 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.2699, allocations: 7.922 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.27, allocations: 45.03 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.27, allocations: 4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.27, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.27, allocations: 4.031 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.41e-05/0.2701, allocations: 149.6 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2701, allocations: 0 / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.2701, allocations: 4 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2701, allocations: 7.875 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.2701, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2701, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2702, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.2702, allocations: 69.03 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.2703, allocations: 88.92 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.2703, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.2703, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-06/0.2703, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2703, allocations: 4 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.488e-05/0.2703, allocations: 75.28 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 0 / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002035/0.2705, allocations: 4.047 kB / 1.063 GB, free: 15.99 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.0003298/0.2709, allocations: 0.6085 MB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.379e-05/0.2709, allocations: 11.92 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.271, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.271, allocations: 8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.2711, allocations: 160 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.2714, allocations: 100.4 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2716, allocations: 0.6731 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.2716, allocations: 4 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.2716, allocations: 7.438 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2716, allocations: 0 / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.137/1.408, allocations: 0.8401 MB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.409, allocations: 221.1 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/3.602, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 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