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.001516/0.001516, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001756/0.001756, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 66.44 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2389, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001612/0.2406, allocations: 0.6598 MB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.242, allocations: 1.268 MB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-06/0.242, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.2421, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-06/0.2421, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.2423, allocations: 51.02 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.827e-05/0.2424, allocations: 0 / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.2424, allocations: 4 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.2424, allocations: 4 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.2425, allocations: 7.922 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.2425, allocations: 0 / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.2427, allocations: 103.8 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-06/0.2427, allocations: 3.984 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.2427, allocations: 0 / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2429, allocations: 51.94 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2429, allocations: 0 / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2429, allocations: 0 / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.2429, allocations: 0 / 1.054 GB, free: 6.062 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.0002627/0.2431, allocations: 331.6 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2432, allocations: 11.97 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.2432, allocations: 30.75 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.2432, allocations: 0.9375 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.364e-05/0.2433, allocations: 164.4 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.2433, allocations: 384 / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.2433, allocations: 384 / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.916e-05/0.2434, allocations: 37.75 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2434, allocations: 7.922 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.2434, allocations: 4 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2434, allocations: 4 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.2435, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.2436, allocations: 149.6 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.066e-05/0.2436, allocations: 18.61 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.2436, allocations: 4.859 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.2441, allocations: 0.5662 MB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2442, allocations: 42.44 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2442, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.2443, allocations: 33.69 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2443, allocations: 51.41 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.183e-05/0.2444, allocations: 93.86 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.2444, allocations: 25.7 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.2444, allocations: 84.27 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2444, allocations: 4 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.2445, allocations: 9.719 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.2445, allocations: 310.8 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.2446, allocations: 0 / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.2446, allocations: 4 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.2446, allocations: 12.8 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2446, allocations: 4.062 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5e-05/0.2447, allocations: 37.69 kB / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2447, allocations: 7.938 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2447, allocations: 0 / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.2447, allocations: 0 / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.383e-05/0.2447, allocations: 4 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.2447, allocations: 0 / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-06/0.2448, allocations: 0 / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2448, allocations: 0 / 1.056 GB, free: 3.676 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 6.261e-05/0.2448, allocations: 113.9 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-06/0.2448, allocations: 3.938 kB / 1.056 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.2449, allocations: 45.03 kB / 1.056 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2449, allocations: 0 / 1.056 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2449, allocations: 0 / 1.056 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.245, allocations: 4 kB / 1.056 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.245, allocations: 149.7 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.245, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.2451, allocations: 32 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2451, allocations: 7.938 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.2451, allocations: 7.938 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2451, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2451, allocations: 3.938 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.071e-05/0.2452, allocations: 64.97 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2452, allocations: 88.98 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.2452, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.2452, allocations: 4.031 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-06/0.2452, allocations: 0 / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2452, allocations: 0 / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.221e-05/0.2453, allocations: 75.28 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2453, allocations: 0 / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001794/0.2455, allocations: 8 kB / 1.057 GB, free: 3.012 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.000327/0.2458, allocations: 0.6046 MB / 1.057 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.978e-05/0.2459, allocations: 7.938 kB / 1.057 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2459, allocations: 0 / 1.057 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.2459, allocations: 7.984 kB / 1.057 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.246, allocations: 5.891 kB / 1.057 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.2462, allocations: 96.44 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2464, allocations: 0.6733 MB / 1.058 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.2465, allocations: 11.92 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.2465, allocations: 7.438 kB / 1.058 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.2465, allocations: 0 / 1.058 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5458/0.7922, allocations: 0.8884 MB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.7925, allocations: 219.1 kB / 1.059 GB, free: 476 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.88, allocations: 4 kB / 1.059 GB, free: 472 kB / 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