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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 104.9 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.1 MB / 0.7171 GB, free: 4.09 MB / 0.5763 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 59.91 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 151.6 MB / 1.175 GB, free: 17.49 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001625/1.016, allocations: 0.5932 MB / 1.175 GB, free: 17.12 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001587/1.018, allocations: 1.246 MB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/1.018, allocations: 4 kB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/1.018, allocations: 1.125 kB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/1.018, allocations: 0 / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/1.018, allocations: 64.66 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.032e-05/1.018, allocations: 5.969 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/1.018, allocations: 2 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/1.018, allocations: 2.109 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/1.018, allocations: 3.938 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/1.018, allocations: 1.5 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/1.019, allocations: 107.9 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/1.019, allocations: 0 / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/1.019, allocations: 5.828 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/1.019, allocations: 55.19 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.019, allocations: 0 / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/1.019, allocations: 0 / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.019, allocations: 0 / 1.177 GB, free: 16.11 MB / 0.92 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.000267/1.019, allocations: 324.7 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.019, allocations: 10.81 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/1.019, allocations: 31.55 kB / 1.177 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/1.019, allocations: 6.531 kB / 1.177 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/1.019, allocations: 165.1 kB / 1.177 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.019, allocations: 384 / 1.177 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/1.019, allocations: 5.312 kB / 1.177 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/1.02, allocations: 34.05 kB / 1.177 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.02, allocations: 3.938 kB / 1.177 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/1.02, allocations: 0 / 1.177 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/1.02, allocations: 0 / 1.177 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/1.02, allocations: 2.062 kB / 1.177 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/1.02, allocations: 149.5 kB / 1.177 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/1.02, allocations: 17 kB / 1.177 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/1.02, allocations: 9.797 kB / 1.177 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/1.02, allocations: 0.5618 MB / 1.178 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.02, allocations: 40.34 kB / 1.178 GB, free: 14.54 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/1.02, allocations: 3.938 kB / 1.178 GB, free: 14.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/1.021, allocations: 44.11 kB / 1.178 GB, free: 14.49 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/1.021, allocations: 53.16 kB / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.297e-05/1.021, allocations: 89.86 kB / 1.178 GB, free: 14.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/1.021, allocations: 25.7 kB / 1.178 GB, free: 14.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/1.021, allocations: 80.84 kB / 1.178 GB, free: 14.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/1.021, allocations: 1.156 kB / 1.178 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/1.021, allocations: 15.89 kB / 1.178 GB, free: 14.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/1.021, allocations: 312.9 kB / 1.179 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/1.021, allocations: 2.078 kB / 1.179 GB, free: 13.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/1.021, allocations: 5.062 kB / 1.179 GB, free: 13.88 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/1.021, allocations: 11.14 kB / 1.179 GB, free: 13.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.021, allocations: 0.5625 kB / 1.179 GB, free: 13.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.954e-05/1.021, allocations: 36.67 kB / 1.179 GB, free: 13.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.021, allocations: 9.219 kB / 1.179 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.021, allocations: 5.469 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.021, allocations: 0.6094 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/1.021, allocations: 5.438 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.021, allocations: 2.219 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/1.021, allocations: 0 / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/1.021, allocations: 0 / 1.179 GB, free: 13.82 MB / 0.92 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.182e-05/1.021, allocations: 107.8 kB / 1.179 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-06/1.021, allocations: 5.547 kB / 1.179 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.044e-05/1.021, allocations: 48.45 kB / 1.179 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.021, allocations: 1.25 kB / 1.179 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.021, allocations: 0 / 1.179 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.021, allocations: 0.7969 kB / 1.179 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.005e-05/1.021, allocations: 144.6 kB / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.021, allocations: 0 / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/1.021, allocations: 3.516 kB / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.021, allocations: 3.938 kB / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.021, allocations: 1.562 kB / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.021, allocations: 4.594 kB / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.021, allocations: 0 / 1.179 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/1.021, allocations: 66.23 kB / 1.179 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/1.021, allocations: 81.84 kB / 1.179 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/1.021, allocations: 0 / 1.179 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-06/1.021, allocations: 2.203 kB / 1.179 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/1.022, allocations: 0 / 1.179 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/1.022, allocations: 6.141 kB / 1.179 GB, free: 13.28 MB / 0.92 GB Notification: Performance of sorting global known variables: time 1.149e-05/1.022, allocations: 75.28 kB / 1.179 GB, free: 13.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 0 / 1.179 GB, free: 13.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001996/1.022, allocations: 9.562 kB / 1.179 GB, free: 13.2 MB / 0.92 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.0003425/1.022, allocations: 0.6047 MB / 1.18 GB, free: 12.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.094e-05/1.022, allocations: 16.14 kB / 1.18 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.022, allocations: 0 / 1.18 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-06/1.022, allocations: 2.344 kB / 1.18 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/1.022, allocations: 1.438 kB / 1.18 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/1.023, allocations: 99.36 kB / 1.18 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/1.023, allocations: 0.6717 MB / 1.181 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.803e-05/1.023, allocations: 5.906 kB / 1.181 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/1.023, allocations: 8.656 kB / 1.181 GB, free: 11.75 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/1.023, allocations: 0 / 1.181 GB, free: 11.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/1.048, allocations: 1.043 MB / 1.182 GB, free: 11.39 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/9.192, allocations: 8.859 kB / 1.182 GB, free: 11.38 MB / 0.92 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.22202380397357]