Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 160.6 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.843/2.843, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9815 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.412e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001578/0.001602, allocations: 0.584 MB / 0.9821 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.003538, allocations: 1.272 MB / 0.9833 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.003555, allocations: 7.938 kB / 0.9833 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.003566, allocations: 0 / 0.9833 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.003571, allocations: 4 kB / 0.9833 GB, free: 9 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.003927, allocations: 71.62 kB / 0.9834 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.672e-05/0.003963, allocations: 11.92 kB / 0.9834 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.003998, allocations: 7.984 kB / 0.9834 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.049e-05/0.004019, allocations: 0 / 0.9834 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.004063, allocations: 4 kB / 0.9834 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.004073, allocations: 0 / 0.9834 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.004362, allocations: 103.8 kB / 0.9835 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.004369, allocations: 0 / 0.9835 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.004385, allocations: 8 kB / 0.9835 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004554, allocations: 75.77 kB / 0.9836 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004557, allocations: 0 / 0.9836 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004558, allocations: 0 / 0.9836 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004562, allocations: 0 / 0.9836 GB, free: 8.723 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.0003051/0.004867, allocations: 254.3 kB / 0.9838 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.004901, allocations: 12.03 kB / 0.9838 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.004931, allocations: 0.9375 kB / 0.9838 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.005023, allocations: 101.8 kB / 0.9839 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.005035, allocations: 4.375 kB / 0.9839 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.005041, allocations: 384 / 0.9839 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.147e-05/0.005122, allocations: 38.25 kB / 0.984 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.005132, allocations: 4.125 kB / 0.984 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.005139, allocations: 384 / 0.984 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005144, allocations: 3.938 kB / 0.984 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.005163, allocations: 4 kB / 0.984 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.005282, allocations: 97.33 kB / 0.9841 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.005326, allocations: 18.67 kB / 0.9841 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.005341, allocations: 4.859 kB / 0.9841 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.005672, allocations: 39.97 kB / 0.9841 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.005703, allocations: 34.55 kB / 0.9842 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.005704, allocations: 4 kB / 0.9842 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.005832, allocations: 41.62 kB / 0.9842 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.005874, allocations: 55.34 kB / 0.9843 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.005932, allocations: 89.86 kB / 0.9844 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.005947, allocations: 25.7 kB / 0.9844 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.005981, allocations: 80.14 kB / 0.9845 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.006014, allocations: 7.953 kB / 0.9845 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.00605, allocations: 13.84 kB / 0.9845 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.006242, allocations: 310.8 kB / 0.9848 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.006261, allocations: 7.938 kB / 0.9848 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.006273, allocations: 3.984 kB / 0.9848 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.006312, allocations: 16.8 kB / 0.9848 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006314, allocations: 0 / 0.9848 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.914e-05/0.006373, allocations: 29.7 kB / 0.9848 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.006387, allocations: 9.812 kB / 0.9848 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.006395, allocations: 4 kB / 0.9848 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.006408, allocations: 4.094 kB / 0.9848 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.00645, allocations: 0 / 0.9848 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.006457, allocations: 3.938 kB / 0.9848 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.006468, allocations: 0 / 0.9848 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.006476, allocations: 4 kB / 0.9849 GB, free: 7.25 MB / 0.8887 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.08e-05/0.006556, allocations: 113.8 kB / 0.985 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.006563, allocations: 0 / 0.985 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.006678, allocations: 44.64 kB / 0.985 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.006679, allocations: 4.031 kB / 0.985 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006683, allocations: 0 / 0.985 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.006688, allocations: 3.938 kB / 0.985 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.704e-05/0.006775, allocations: 97.31 kB / 0.9851 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006776, allocations: 0 / 0.9851 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.006793, allocations: 4 kB / 0.9851 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006795, allocations: 0 / 0.9851 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.0068, allocations: 0 / 0.9851 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006802, allocations: 0 / 0.9851 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006803, allocations: 0 / 0.9851 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.006898, allocations: 65.06 kB / 0.9852 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.006902, allocations: 4.031 kB / 0.9852 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.006915, allocations: 8 kB / 0.9852 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.006925, allocations: 3.938 kB / 0.9852 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.006936, allocations: 0 / 0.9852 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.006938, allocations: 0 / 0.9852 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.006981, allocations: 79.22 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006981, allocations: 0 / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002057/0.007187, allocations: 8 kB / 0.9853 GB, free: 6.758 MB / 0.8887 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.0002352/0.007422, allocations: 115.6 kB / 0.9854 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.007498, allocations: 12 kB / 0.9854 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007499, allocations: 0 / 0.9854 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-06/0.007508, allocations: 4 kB / 0.9854 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.00764, allocations: 3.984 kB / 0.9854 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.007867, allocations: 80.94 kB / 0.9855 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.007922, allocations: 59.3 kB / 0.9855 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.00794, allocations: 0 / 0.9855 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.007959, allocations: 8.625 kB / 0.9855 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.00796, allocations: 4 kB / 0.9855 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of Templates: time 0.002827/0.01079, allocations: 413 kB / 0.9859 GB, free: 6.016 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.892977844923735]