Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_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.007458/0.007458, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001903/0.001903, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 71.84 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7492, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001756/0.751, allocations: 0.5844 MB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.7527, allocations: 1.245 MB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.7527, allocations: 4 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.7528, allocations: 0 / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.7528, allocations: 0 / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.7531, allocations: 63.75 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.7532, allocations: 4 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.7532, allocations: 3.938 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.7532, allocations: 3.984 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.7533, allocations: 11.94 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.7533, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.7535, allocations: 99.81 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.7536, allocations: 8 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.7536, allocations: 4 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.7537, allocations: 48.92 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7537, allocations: 0 / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7537, allocations: 0 / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.7537, allocations: 0 / 1.168 GB, free: 1.656 MB / 0.8887 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.0003701/0.7541, allocations: 338.1 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7542, allocations: 8.922 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.7542, allocations: 30.75 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.788e-05/0.7542, allocations: 0.9375 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.7543, allocations: 164.4 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.7544, allocations: 384 / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.7544, allocations: 4.375 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.7545, allocations: 37.75 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.7545, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.7545, allocations: 3.984 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.7545, allocations: 4 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.7545, allocations: 4 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.7547, allocations: 149.7 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.7548, allocations: 18.52 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.7548, allocations: 8.953 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.7554, allocations: 0.5583 MB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.7555, allocations: 42.44 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7555, allocations: 4 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.7556, allocations: 41.64 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.7557, allocations: 51.41 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.7557, allocations: 89.86 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.7558, allocations: 25.7 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.7558, allocations: 80.14 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.7558, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.7559, allocations: 17.72 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.756, allocations: 315 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.756, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.7561, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.7561, allocations: 12.8 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7561, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.825e-05/0.7562, allocations: 37.69 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7562, allocations: 11.88 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.7562, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7562, allocations: 4.094 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.7563, allocations: 4 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.7563, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.7563, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.7563, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 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 8.104e-05/0.7564, allocations: 109.8 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.7564, allocations: 3.938 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.7565, allocations: 48.75 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7565, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7565, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.7565, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.7566, allocations: 149.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7567, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.7567, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7567, allocations: 3.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7567, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7567, allocations: 3.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7567, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.591e-05/0.7568, allocations: 61.09 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.7568, allocations: 81.05 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.7569, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.7569, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.7569, allocations: 8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.7569, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.7569, allocations: 79.31 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7569, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001973/0.7571, allocations: 4 kB / 1.171 GB, free: 14.6 MB / 0.9044 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.00047/0.7576, allocations: 0.6046 MB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.732e-05/0.7577, allocations: 11.95 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7577, allocations: 4.062 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-06/0.7577, allocations: 4 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.7579, allocations: 0 / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.7582, allocations: 102.6 kB / 1.171 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.7585, allocations: 0.6729 MB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.7585, allocations: 3.984 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.7585, allocations: 15.5 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7585, allocations: 0 / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.7818, allocations: 1.02 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.787, allocations: 11.95 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches